im trying to log in to a ftp with a batch script in DOS
i want it to download the information everyday
but only the new information.
but i get stuck after the opening banner.
any help?
now ive got
ftp 127.0.0.1
Aaron
aaron
Printable View
im trying to log in to a ftp with a batch script in DOS
i want it to download the information everyday
but only the new information.
but i get stuck after the opening banner.
any help?
now ive got
ftp 127.0.0.1
Aaron
aaron
You need provide info about file selection.
Simply put the same commands in the script that you would use if you were doing the task manually.
Code:ftp> ?
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp>
here this works :)
start
ftp -s:ftpscript.txt
open 64.198.56.167
user
Password
dir
prompt n
mput C:\dir\*.*
bye
i needed the -s and a script .txt file
thanks
"A"