Help with synchronization

Advertisement

mabc
Joined:
Posts:
7

Help with synchronization

Hello,

I am using the below synchronization command. It works except when the local file is replaced with a file that has an older date/time than the remote directory. The local file is also a different size than the remote file but it's still not replacing the remote file. I would like the local file to be the master regardless of mod date/time or file size.

synchronize -filemask="*.jpg" remote "T:\files\_website_event_images\" /events/

Your assistance is appreciated!

Reply with quote

Advertisement

mabc
Joined:
Posts:
7

I also tried adding -mirror to the cmd and the file from the local directory still does not copy to the remote directory. Does anyone have any suggestions?

synchronize -filemask="*.jpg" remote -mirror "T:\files\_website_event_images\" /events/

Thank you.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

mabc wrote:

I also tried adding -mirror to the cmd and the file from the local directory still does not copy to the remote directory. Does anyone have any suggestions?
It should work with -mirror. Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Reply with quote

Advertisement

You can post new topics in this forum