<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Скрипт отправки файла на FTP]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12447</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12447&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Скрипт отправки файла на FTP».]]></description>
		<lastBuildDate>Tue, 14 Feb 2017 19:51:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Скрипт отправки файла на FTP]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=112506#p112506</link>
			<description><![CDATA[<p>Создал функцию которая отправляет файл на мой сервер. Сам процесс отправки откуда-то скопипастил)<strong>.</strong><br />Не могу понять, почему она не работает на Win8&amp;10, когда на моей Win7 всё отлично<strong>.</strong><br /></p><div class="codebox"><pre><code>SendingFilesToTheServer(name, server, login, pass) ; На вход получает (путь к файлу, server:port, login, password) и отправляет заданный файл на сервер по заданным параметрам
{
	FTPCommandFile = c:\Program Files\FTPCommands.txt
	FileAppend,
(
open %server%
%login%
%pass%
binary
cd htdocs
put %name%
delete SomeOtherFile.htm
rename OldFileName.htm NewFileName.htm
ls -l
quit
), %FTPCommandFile%
	RunWait %comspec% /c ftp.exe -s:&quot;%FTPCommandFile%&quot;, ,Hide
	FileDelete %FTPCommandFile%
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sememix)]]></author>
			<pubDate>Tue, 14 Feb 2017 19:51:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=112506#p112506</guid>
		</item>
	</channel>
</rss>
