How to connect and upload files via FTP from the command line. This is a very simple tutorial, by request from [name withheld]. I hope you find it informative and helpful. FTPcommand.dat: open 127.0.0.1 test test put tut2do.txt quit FTPBAT.bat: ftp -s:FTPcommand.dat