Solved FTP Batch File Programming

Microsoft Windows xp home edition with s...
June 27, 2012 at 04:43:16
Specs: Windows xp
How do I create a batch file that would automate user and password when I'm log into ftp. Here is an example the step before getting to open ftp.

O:
cd/sds
ftp ftp.server-server.com
user
password
cd outgoing
dir

Please help...Thank you.


See More: FTP Batch File Programming

Report •

#1
June 27, 2012 at 05:14:11

Report •

#2
June 27, 2012 at 12:24:32
✔ Best Answer
ftp hostname -s:login

where "login" is any name of a "ftp script" file, contents similar to:
user myusername
mypassword

cd public_html

Any ftp commands can be scripted, including "quit". Once the script ends, if ftp is still active, interactive control commences.


Report •
Related Solutions


Ask Question