Use the following command to automate FTP session in windows.
In the following example, script.txt contains ftp commands to automate your session
c:\> ftp -s:script.txt ftp.ftpserver.com
The contents of script.txt should look like this.
yourFTPUserName
yourFTPPassword
bin
cd /downloads
put myfile1.zip
bye
You can use this with your batch scripts to automate repeated tasks
Hope this is useful..!
What do you think about this Article? Add your Opinion..! EmoticonEmoticon