Тема: FTP
Показать сообщение отдельно
Старый 15.03.2004, 12:48   #6  
Pasha is offline
Pasha
Участник
 
14 / 10 (1) +
Регистрация: 03.12.2003
Я сделал так:
сгенерил 2 файла:
toftp.bat
c:
cd c:\ftp_tmp
ftp.exe -i -s:toFTP.ftp

toftp.ftp
open xxxxxxxxxxxx
user
password
cd /filials
mkdir nadya
cd nadya
binary
mput *.txt
bye

затем
SHELL(toftp.bat');
В принципе bat-файл не обязателен, можно делать напрямую SHELL'ом