Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin wrote:

3K wrote:

I read the Synchronization mode below which may be used in our case but this is not completely correct - to update the timestamp of the target file without comparing the file size. My suggestion is to initially compare the file size and if they are the same, go and update the timestamp. If not, the source file means it's updated and should replace the target file instead.

The you select the Synchronize timestamp mode, you will have an option Same size only.


Though the Synchronize timestamp mode is not really a solution, it's the last resort, when the server is buggy.
martin

3K wrote:

I read the Synchronization mode below which may be used in our case but this is not completely correct - to update the timestamp of the target file without comparing the file size. My suggestion is to initially compare the file size and if they are the same, go and update the timestamp. If not, the source file means it's updated and should replace the target file instead.

The you select the Synchronize timestamp mode, you will have an option Same size only.
3K

Thanks prikryl,

I read the Synchronization mode below which may be used in our case but this is not completely correct - to update the timestamp of the target file without comparing the file size. My suggestion is to initially compare the file size and if they are the same, go and update the timestamp. If not, the source file means it's updated and should replace the target file instead.

With Synchronize timestamps mode, the timestamps of target files are updated to match timestamps of source files. It will not do any transfers, nor delete anything. Simply, whenever it finds the same file in both directories it updates the timestamp of target file to match the one of source file. In Both mode, it always updates the older timestamp. The mode is available with SFTP protocol only.
3K

Synchronize command downloads all the files again, DST?

Hi,

I noticed yesterday, 31 March 2014, when I run my batch command below, it downloaded all the files again. Perhaps, the document's timestamps were shifted because of Daylight Saving Time? What is the solution or command to avoid downloading all the files?

option batch continue

option confirm off
option reconnecttime 2
open ftp://....
option transfer automatic
synchronize -mirror local "C:\doccuments" "/server/documents"
close
exit


I'm using Winscp552.

Thanks.