FTP using DOS Batch files
I am trying to automate an FTP process within a DOS shell. I normally open an FTP command by typing ''FTP '' on the command line, then subsequently entering my login id and password when I am prompted.
I''m wondering if there is a way to automate this, so that I just execute a batch file or a macro or something that will automatically log in, send my login id and password, and issue commands to the FTP server.
Any ideas? Thanks in advance!
call ftp -s
where is the path to a text file that contains one command per line, like this:
open ftp.microsoft.com
anonymous
pwd
...(whatever)
bye
where is the path to a text file that contains one command per line, like this:
open ftp.microsoft.com
anonymous
pwd
...(whatever)
bye
Teric,
You sure could have helped yourself if you would''ve taken 2 extra seconds to type:
''ftp -help''
and seen what -s does.
You sure could have helped yourself if you would''ve taken 2 extra seconds to type:
''ftp -help''
and seen what -s does.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement