This script uploads files msg.txt and on a specified interval from an ftp client (this computer) to an FTP server on MS windows platforms.rem display whats going on when this script runs. @echo on
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.srcftp -v -s:"ftp.src"rem then the batch file it is calling looks like this:rem truncate/empty the msg.txt after upload. echo. 2>msg.txtrem log "what happpens" every time the script is execute to a file called sms.log echo %TIME% >> sms.log
SRC.TXT
rem src.txt could be any text file that holds ftp commandssrc.txt
open 10.1.4.65 rem ftp server's IP address.
username
passwordrem filename to upload and command/
put msg.txt
put src.txtrem quit after above commands are executed.
quitTo automate this process or schedule it to run on a specific time.Start->accessories-system tools->task scheduler







Superb! Generally I never read whole articles but the way you wrote this information leather shoes for men, High Heels shoes, women's handbags is simply amazing and this kept my interest in reading and I enjoyed it.
ReplyDelete