How is this done? I have a simple batch file I want to use and set up as a scheduled task to log into an ftp site every night and download the database to the local computer. Is there a special way to input userames, etc.. because every time I run the file I am prompted for a username even though it is in the batch file.
I've done this countless times because I am a die hard DOS user, even to today!!!
I do this in a 2 step process. The process includes creating a batch file and a normal text file. Create a text file that looks somewhat similar to this:
ftp.txt =======
open server address (host) username password put your execute statements here like put or get disconnect quit
Then create a batch program similar to this:
ftp.bat =======
ftp -s:ftp.txt
Voila!, that is it. Let me know if you need more help.
I am in the middle of a DOS class. I use it all the time too, just I haven't made many batch files yet. I think it is a great and simple thing that everyone should learn. There are so many things you can save time doing with command line, batch files, etc...easier than finding some program, installing it, and then making it work if you ask me.