I need to create a script that will upload files from W2k machine using ftp to another w2k8 r2 server running IIS. There are several TXT files that need to be uploaded and moved to another directory upon successful upload.
I have a batch script that will upload all *.TXT files via ftp and move all TXT files to another location after the 1st script finishes. What the script is missing is ability to distinguish if a file was successfully moved.
move D:\Orders\*.TXT D:\Uploaded
Appreciate any help