I'm trying to use a batch file to copy a file from a web site to my local machine. The web site is ftp: // usernameassword @domain.com. Do I need to reference an ftp file in the batch. I'm not really sure how to go out and grab it. The batch I've been trying is:
echo open ftp: //usernameassword @domain.com >ftp1
echo get my file.zip>>ftp1
echo quit>>ftp1
ftp -s:ftp1
but I can't connect with the FTP command.
If I enter the URL into my browser, it takes me to the site and I can click on the file and download it. Anyone have any ideas on how I can download it automatically with a batch file?
Thanks
echo open ftp: //usernameassword @domain.com >ftp1
echo get my file.zip>>ftp1
echo quit>>ftp1
ftp -s:ftp1
but I can't connect with the FTP command.
If I enter the URL into my browser, it takes me to the site and I can click on the file and download it. Anyone have any ideas on how I can download it automatically with a batch file?
Thanks