Copy Files from Server - Help Needed
Friends,
I want to copy updated files from server to local machine. If updated it should overwrite existing one. If the file is not updated it should not copy the file to local machine.
Need a VBscipt to check whether files have been updated or not.
Can anyone please help on this.
I want to copy updated files from server to local machine. If updated it should overwrite existing one. If the file is not updated it should not copy the file to local machine.
Need a VBscipt to check whether files have been updated or not.
Can anyone please help on this.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
dodgy
15 years ago
Posted by:
Manu77
15 years ago
Posted by:
dunnpy
15 years ago
Manu77,
A quick and easy way would be a batch file that uses 'xcopy.exe' with the /d switch.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
Then at the end of the batch file call your executable file to launch your application.
Hope this helps,
Dunnpy
A quick and easy way would be a batch file that uses 'xcopy.exe' with the /d switch.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
Then at the end of the batch file call your executable file to launch your application.
Hope this helps,
Dunnpy
Posted by:
dodgy
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.