In order to schedule/automate the ftp process you need 3 steps, one is batch file, script file and windows scheduling.
Step 1: Batch File
Create a batch file “ftp1.bat” which contains following text:
ftp -i -s:ftp.scr
Step 2: Script File
Create a script file “ftp.scr” which contains following text:
open 192.168.0.3 (Your FTP Server IP)
guest (Your UserName)
guest (Your Password)
lcd c:\test (Your local folder)
mput * (* Will copy all the files in the folder)
quit (Finally Quitting FTP Session)
Step 3: Windows Scheduling
While creating windows scheduler to run please select “ftp1.bat”. I hope you can configure other options in the scheduler. If you need any help please do revert back.
Note: Both files should be in the same folder and also test the script before scheduling it (Just double click "ftp1.bat")
Subscribe to:
Post Comments (Atom)
1 comment:
Great, Good start man.
You have done a nice job(specially the ftp scheduling) also, I expect some more amazing and useful tips on spyware and adwares. Because these days i am suffering badly from these nasty dangerous programs. Please try to put some materials on this topic.
Saket
Post a Comment