Get and archive remote files
What's the best way to download files from a remote directory, and then move only the downloaded files to another directory on the remote machine? Is it still XML parsing or are the Assemblies the way to go? I have a script that connects to the server and downloads all the files in a directory, and then moves all of the files to the remote archive directory.
The issue is there's a chance that another file could be added to the remote directory during the GET operation and I don't want it to get archived if it wasn't actually downloaded.
I thought I saw a sample script that did this, but if there was I can't find it again.
Thanks
The issue is there's a chance that another file could be added to the remote directory during the GET operation and I don't want it to get archived if it wasn't actually downloaded.
I thought I saw a sample script that did this, but if there was I can't find it again.
Thanks