Your source for education with an explanation!
22 Aug
I was thinking of ways that I can automate backups to save myself some time. I found out that windows allows you to automate this in a script with the -s command. Here is an example that I think I have working. This script comes with no warranty and use at your own risk. It will automatically connect and download a file called backup.txt. I was thrilled when I got this working and will help me save tons of time a day. Please enjoy.
This might need to be modified to work for what you are trying to do, save this file with a .bat extension. if that doesn’t work save it as a name with no extension. I have not 100% figured out this far. This is a work in progress.
ftp -s:%0.bat
goto done
open domain.com
username
password
binary
cd foldername
get backup.txt
bye
:done