<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5013&amp;type=atom" />
	<updated>2010-10-08T16:29:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5013</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40187#p40187" />
			<content type="html"><![CDATA[<p>Еще похожая тема: <a href="http://forum.script-coding.com/viewtopic.php?id=4625">VBS: MSXML2.XMLHTTP</a>. Ну, и, когда-то приводимая ссылка коллегой <strong>Xameleon</strong>: <a href="http://ru.wikipedia.org/wiki/XMLHttpRequest#.D0.9F.D1.80.D0.BE.D0.B1.D0.BB.D0.B5.D0.BC.D0.B0_.D1.81_.D0.BA.D0.B5.D1.88.D0.B8.D1.80.D0.BE.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5.D0.BC_.D0.B2_Microsoft_Internet_Explorer">6.1 Проблема с кешированием в Microsoft Internet Explorer</a>.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2010-10-08T16:29:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40187#p40187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40172#p40172" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?pid=40081#p40081">Это</a> что за бред ?<br /></p><div class="codebox"><pre><code>fso.CreateTextFile file, True
Set f = fso.OpenTextFile(file, 2, True)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[smaharbA]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=2911</uri>
			</author>
			<updated>2010-10-08T15:31:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40172#p40172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40171#p40171" />
			<content type="html"><![CDATA[<p><span style="color: green">Доглядел и исправил «Скачака …» на «загрузка…» в заголовке.</span> А то — прямая дорога в «Цитаты…» <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2010-10-08T15:27:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40171#p40171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40084#p40084" />
			<content type="html"><![CDATA[<p>Вот похожая проблема <a href="http://forum.script-coding.com/viewtopic.php?pid=39260#p39260">Зачем здесь нужен условный GET</a></p>]]></content>
			<author>
				<name><![CDATA[Rumata]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24846</uri>
			</author>
			<updated>2010-10-07T20:16:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40084#p40084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40082#p40082" />
			<content type="html"><![CDATA[<p>Как-то давно я сталкивался с подобной проблемой, и уверен дело даже не конкретно в цикле. По-моему это связано с кэшом в системе...</p>]]></content>
			<author>
				<name><![CDATA[Lucky]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25698</uri>
			</author>
			<updated>2010-10-07T19:53:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40082#p40082</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: загрузка текстового файла с HTTP не работает в цикле]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40081#p40081" />
			<content type="html"><![CDATA[<p>Здраствуйте дорогие форумчане и все кто смотрит эту тему. Вот код, который скачивает текстовой документ с url, но &quot;один раз&quot;. <br /></p><div class="codebox"><pre><code>file = &quot;c:\temp\test.txt&quot;
url = &quot;http://test.txt&quot;
set fso = createobject(&quot;scripting.filesystemobject&quot;)
Set oXMLHTTP = CreateObject(&quot;MSXML2.XMLHTTP&quot;)
do while not i = 2
 oXMLHTTP.Open &quot;GET&quot;, url, False
 oXMLHTTP.Send
 fso.CreateTextFile file, True
 Set f = fso.OpenTextFile(file, 2, True)
 f.WriteLine oXMLHTTP.Responsetext
 f.close
 wscript.sleep 1000
loop</code></pre></div><p>Меняю данные в текстовом файле (который скачиваеться), а file не изменяеться. Пробовал удалять файл перед скачкой, но не помогает.<br />Также пробовал циклить его в отельном скрипте чтото вроде <br /></p><div class="codebox"><pre><code>WsHShell.Run &quot;script.vbs&quot;</code></pre></div><p>но это не удобно и иногда вылетают ошибки типа ввод за пределами ....<br />Хотелось бы, чтобы он работал внутри цикла без отдельных скриптов.</p><p>За любую помощь огромное спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Turka0009]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25629</uri>
			</author>
			<updated>2010-10-07T19:44:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40081#p40081</id>
		</entry>
</feed>
