I am need help getting a script that will transfer a file from our server to an remote ftp server.
The script should do the following:
Take a file from a folder our server and rename the file appending a date/time stamp format and move it to an archive folder.
It then would leave a copy of the newly renamed file and send a copy of the file to an FTP address. The FTP site has a folder we need to drop it in. The FTP site has a user name and pw that has to be used.
The filename for the example script should be filename.txt
The file will start off being located at \\servername\foldername
Then moved and renamed to \\servername\archive
The changed name format would be yearmonthdate-timefilename.txt
for the user name please use USERNAME
for the password please use PASSWORD
This script will be kicked off every five minutes by the task scheduler.
The file resides on a server using Server 2003 Standard.
The file server has an ip address.
Thanks for the help