Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Script to download only the files with different time stamps,

I do not understand your script. Are you aware that the synchronize command not only compares, but also transfers the modified files? Why are you doing the synchronize local and then get? Can you explain? Is this by purpose or by mistake? Typically you would use only one of them.
ejecthunter

Script to download only the files with different time stamps,

Hi,
i have created a script which is supposed to download all the files from remote site,
and then when the batch is run once again, it is supposed to compare the files and only download the files with the latest timestamp.
Here is my script:
synchronize local D:\Reports\OL\ /
#Download only most updated
get -filemask="*>=1D" *
exit

so basically it should compare and delete the files with same name and replace them with the new ones with new timestamp.

EDIT: My test showed that the files are being redownloaded everytime i run the script.

It this correct? thanks for your help.

rgds