I need a script to ftp a file from one server to another server. I also want whenever the file is successfully ftp, it will REMOVE the file to a log directory and rename it based on the date and time it was uploaded.
For example, the file name is ABC.txt and located at c:\batch and after successfully ftp the file will be removed to c:\batch\log and will be named ABC_DDMMMYY_HHMMSS.SUCESSS and if fail the file will be named ABC_DDMMYY_HHMMSS.FAIL.
This script will be put in the schedule task.
Server Name: test.server.com
password : abc123