<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://baozam.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AData_export%2Fvbs</id>
		<title>Template:Data export/vbs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://baozam.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AData_export%2Fvbs"/>
		<link rel="alternate" type="text/html" href="https://baozam.org/index.php?title=Template:Data_export/vbs&amp;action=history"/>
		<updated>2026-04-15T03:41:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=773&amp;oldid=prev</id>
		<title>Baya at 10:47, 8 February 2017</title>
		<link rel="alternate" type="text/html" href="https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=773&amp;oldid=prev"/>
				<updated>2017-02-08T10:47:55Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:47, 8 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFSO = CreateObject( &amp;quot;Scripting.FileSystemObject&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFSO = CreateObject( &amp;quot;Scripting.FileSystemObject&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or open &lt;/del&gt;the target file&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create the target file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFile = objFSO.CreateTextFile( mySaveTo, True, True ) ' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;second True = &lt;/del&gt;unicode&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFile = objFSO.CreateTextFile( mySaveTo, True, True ) ' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;overwrite, &lt;/ins&gt;unicode&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create an HTTP object&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create an HTTP object&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Baya</name></author>	</entry>

	<entry>
		<id>https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=772&amp;oldid=prev</id>
		<title>Baya at 10:46, 8 February 2017</title>
		<link rel="alternate" type="text/html" href="https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=772&amp;oldid=prev"/>
				<updated>2017-02-08T10:46:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:46, 8 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L22&quot; &gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create or open the target file&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create or open the target file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFile = objFSO.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenTextFile&lt;/del&gt;( mySaveTo, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ForWriting&lt;/del&gt;, True )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; Set objFile = objFSO.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CreateTextFile&lt;/ins&gt;( mySaveTo, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;True&lt;/ins&gt;, True ) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;' second True = unicode&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create an HTTP object&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; ' Create an HTTP object&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Baya</name></author>	</entry>

	<entry>
		<id>https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=754&amp;oldid=prev</id>
		<title>Baya at 11:13, 23 January 2017</title>
		<link rel="alternate" type="text/html" href="https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=754&amp;oldid=prev"/>
				<updated>2017-01-23T11:13:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:13, 23 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;' This Sub downloads the FILE specified in myUrl to the file specified in mySaveTo.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;' This Sub downloads the FILE specified in myUrl to the file specified in mySaveTo.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myDevice = &amp;quot;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DEVICE&lt;/del&gt;&amp;gt;&amp;quot;, myUser = &amp;quot;&amp;lt;USR&amp;gt;&amp;quot;, myPwd = &amp;quot;&amp;lt;PASSWORD&amp;gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myDevice = &amp;quot;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;HOSTID&lt;/ins&gt;&amp;gt;&amp;quot;, myUser = &amp;quot;&amp;lt;USR&amp;gt;&amp;quot;, myPwd = &amp;quot;&amp;lt;PASSWORD&amp;gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myHost = &amp;quot;baozam.net&amp;quot;, mySaveTo = &amp;quot;D:\baozam.csv&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myHost = &amp;quot;baozam.net&amp;quot;, mySaveTo = &amp;quot;D:\baozam.csv&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myPeriod = &amp;quot;259200&amp;quot;, mySTime = &amp;quot;0&amp;quot;, myStep = &amp;quot;g1d&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Const myPeriod = &amp;quot;259200&amp;quot;, mySTime = &amp;quot;0&amp;quot;, myStep = &amp;quot;g1d&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Baya</name></author>	</entry>

	<entry>
		<id>https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=481&amp;oldid=prev</id>
		<title>Baya: Created page with &quot;&lt;pre&gt; ' This Sub downloads the FILE specified in myUrl to the file specified in mySaveTo.  Const myDevice = &quot;&lt;DEVICE&gt;&quot;, myUser = &quot;&lt;USR&gt;&quot;, myPwd = &quot;&lt;PASSWORD&gt;&quot; Const myHost = &quot;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://baozam.org/index.php?title=Template:Data_export/vbs&amp;diff=481&amp;oldid=prev"/>
				<updated>2016-09-08T10:57:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; &amp;#039; This Sub downloads the FILE specified in myUrl to the file specified in mySaveTo.  Const myDevice = &amp;quot;&amp;lt;DEVICE&amp;gt;&amp;quot;, myUser = &amp;quot;&amp;lt;USR&amp;gt;&amp;quot;, myPwd = &amp;quot;&amp;lt;PASSWORD&amp;gt;&amp;quot; Const myHost = &amp;quot;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
' This Sub downloads the FILE specified in myUrl to the file specified in mySaveTo.&lt;br /&gt;
&lt;br /&gt;
Const myDevice = &amp;quot;&amp;lt;DEVICE&amp;gt;&amp;quot;, myUser = &amp;quot;&amp;lt;USR&amp;gt;&amp;quot;, myPwd = &amp;quot;&amp;lt;PASSWORD&amp;gt;&amp;quot;&lt;br /&gt;
Const myHost = &amp;quot;baozam.net&amp;quot;, mySaveTo = &amp;quot;D:\baozam.csv&amp;quot;&lt;br /&gt;
Const myPeriod = &amp;quot;259200&amp;quot;, mySTime = &amp;quot;0&amp;quot;, myStep = &amp;quot;g1d&amp;quot;&lt;br /&gt;
&lt;br /&gt;
HTTPDownload &amp;quot;https://&amp;quot; + myHost + &amp;quot;/index.php?action=csv&amp;amp;hosts=&amp;quot; + myDevice + &amp;quot;&amp;amp;period=&amp;quot; + myPeriod + &amp;quot;&amp;amp;stime=&amp;quot; + mySTime + &amp;quot;&amp;amp;step=&amp;quot; + myStep&lt;br /&gt;
Sub HTTPDownload( myUrl )&lt;br /&gt;
&lt;br /&gt;
' Based on a script found on the Thai Visa forum&lt;br /&gt;
' http://www.thaivisa.com/forum/index.php?showtopic=21832&lt;br /&gt;
' by Rob van der Woude&lt;br /&gt;
' http://www.robvanderwoude.com/vbstech_internet_download.php&lt;br /&gt;
&lt;br /&gt;
    ' Standard housekeeping&lt;br /&gt;
    Dim i, objFile, objFSO, objHTTP&lt;br /&gt;
    Const ForReading = 1, ForWriting = 2, ForAppending = 8&lt;br /&gt;
&lt;br /&gt;
    ' Create a File System Object&lt;br /&gt;
    Set objFSO = CreateObject( &amp;quot;Scripting.FileSystemObject&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
    ' Create or open the target file&lt;br /&gt;
    Set objFile = objFSO.OpenTextFile( mySaveTo, ForWriting, True )&lt;br /&gt;
&lt;br /&gt;
    ' Create an HTTP object&lt;br /&gt;
    Set objHTTP = CreateObject( &amp;quot;WinHttp.WinHttpRequest.5.1&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
    ' Download the specified URL&lt;br /&gt;
    objHTTP.Open &amp;quot;POST&amp;quot;, myUrl, False&lt;br /&gt;
    'objHTTP.Option(4) = &amp;amp;H3300 'WinHttpRequestOption_SslErrorIgnoreFlags = 0x3300      &lt;br /&gt;
    objHTTP.setRequestHeader &amp;quot;myHost&amp;quot;, myHost&lt;br /&gt;
    objHTTP.SetRequestHeader &amp;quot;Content-Type&amp;quot;, &amp;quot;application/x-www-form-urlencoded&amp;quot;&lt;br /&gt;
    objHTTP.Send &amp;quot;name=&amp;quot; + myUser + &amp;quot;&amp;amp;password=&amp;quot; + myPwd&lt;br /&gt;
&lt;br /&gt;
    ' Write the downloaded byte stream to the target file&lt;br /&gt;
    For i = 1 To LenB( objHTTP.ResponseBody )&lt;br /&gt;
        objFile.Write Chr( AscB( MidB( objHTTP.ResponseBody, i, 1 ) ) )&lt;br /&gt;
    Next&lt;br /&gt;
&lt;br /&gt;
    ' Close the target file&lt;br /&gt;
    objFile.Close( )&lt;br /&gt;
End Sub&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Baya</name></author>	</entry>

	</feed>