Topic "How do I exclude files or directories?"

Author Message
paede
[View user's profile]

Joined: 2013-10-15
Posts: 1
Hello together

I use WinSCP for long times. If I want exclude some files I can use "option exclude xyz.txt". So far so good...
Now I want use WinSCP in a new project with the COM library in C# and there I miss the exclude option in TransferOptions().
Is this option not included?

Greetings
paede
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
First option exclude has been deprecated in favor of put/get -filemask=.
In .NET assembly this is available as TransferOptions.FileMask

See
http://winscp.net/eng/docs/library_transferoptions
http://winscp.net/eng/docs/file_mask#include_and_exclude_masks
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