DOS batch file auto ftp files
rem display whats going on when this script runs.
rem ftp is a MS command line FTP protocol client used to upload/download files rem via FTP protocol, -s specifies the ftp commands to be executed from ftp.src
ftp -v -s:”ftp.src”
rem then the batch file it is calling looks like this:
rem truncate/empty the msg.txt after upload.
rem log “what happpens” every time the script is execute to a file called sms.log
echo %TIME% >> sms.log
rem src.txt could be any text file that holds ftp commands
open 10.1.4.65 rem ftp server’s IP address.
rem filename to upload and command/
rem quit after above commands are executed.
To automate this process or schedule it to run on a specific time.
Start->accessories-system tools->task scheduler