Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Автоматизация заливки по ФТП 
Author Message
Schulze



PostPosted: Fri Mar 27, 2009 11:45    Post subject: Reply with quote

ASE W DAG wrote:
Сергей Матвеев
А обязательно Тоталом?
Проще написать скрипт для ftp:
Code:

open {первый ftp}
{логин}
{пароль}
mput *
close
open {второй ftp}
{логин}
{пароль}
mput *
close

Сохранить, напр., в script.ftp.
Запускать из директории к-рую надо скопировать:
Code:
ftp -i -s:script.ftp


Делаю так, как написано.
В итоге:

Code:

***********
250 CWD command successful
ftp>
ftp> mput *
200 PORT command successful
425 Unable to build data connection: Operation timed out
200 PORT command successful
425 Unable to build data connection: Operation timed out

Подскажите - в чём дело?

И, всётаки, нельзя ли это сделать Тоталом???
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group