Topic "File Mask"

Author Message


Prior to post any request I played with WinSCP and I tried to synchronize a quit deep directory from local to remote SFTP server. I plan when I will manage to do it correctly with the GUI to do it via command line and schedule task : script already works, but I am struggling with exclude directory mask. Initially I thought I just need to keyin the full path of directory I want to exclude so let's take a concret exemple :

Here is what I want to synchronize (let's say from local to remote...) (see attachment tree.jpg)

Can you please give the file mask string I am suppose to use?

I would have made the following (see Exclude.gif) but it doesn't seems to work that way...

tree.jpg (18.42 KB)

Description: (none)


Exclude.gif (16.94 KB) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
These would do:
Absolute path: | /fullpath/tmp/Node 1/files/To Exclude/
Specific folder name only: | To Exclude/
Partial path mask: | */Node 1/files/To Exclude/

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