Topic "Help with synchronization"

Author Message
mabc
[View user's profile]

Joined: 2013-02-20
Posts: 7
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!
mabc
[View user's profile]

Joined: 2013-02-20
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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.

_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License