Hi:
I would like to create a .bat file I could call with Windows Scheduled tasks to automatically upload a file to my web server then delete the local files once they are uploaded.
So basically I would put the files I want uploaded in a directory on my local C: drive and nightly the files would upload to a folder on my ftp server. The file names will always remain the same and the directories in both locations would remain the same. Once the files have successfully uploaded I would then like the local files on my C: drive to be deleted.
There is a catch though, there are two files in the directory and those two files would need to be uploaded to different directories on the server.
A couple of things that would be nice is:
A) If the directory is empty no upload would take place
B) An automated email would fire off with the upload results
C) If I were at the computer a progress indicator would show me how much has been uploaded so far
Now I don't know how much if any of this is possible - it doesn't have to be over complicated, if VBScript is easier or is what I need, I am certainly not married to DOS.
Hopefully this is kind of clear. :-)
Shawn.
Start Free Trial