FTP from batch file
- by Buzkie
I'm trying to use a batch file to download a package off my FTP server.
echo username >ftp.txt
echo >>ftp.txt
echo cd directory >>ftp.txt
echo get filename >>ftp.txt
ftp -s:ftp.txt server.com
The server is set to allow anonymous logins on username but when I run the script I get an error: 331 Password required for username
If there is any other useful information let me know.
-Alex