Topic "Help with Syncronizing"

Author Message


We would like to

1. Sync ANY file or folder new or modified RECURSIVELY.
2. From Local to SFTP
3. Excluding thumbs.db (yes we can just have windows not create them but I would still like to know how to exclude a file)

Currently it is not syncing modified folder/files but rather everything
Currently it seems to only sync sub folders and contents through 8 directories fromm local.

We would like it to recurse through all sub directories. Yes these paths can be 10 to 20 directories deep.

Below is the code in the txt file winscp is following:

option batch continue
option confirm off
option synchdelete on
open WGDJobInfoSync
lcd \\servername\Company\Jobs
synchronize -filemask="*.db" remote "\\servername\Company\Jobs" "/TESTING/Jobs_TEMP"
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26572
Location: Prague, Czechia
You have to add the *.db to exclude, not include mask:
synchronize -filemask="|*.db" remote "\\servername\Company\Jobs" "/TESTING/Jobs_TEMP"

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License