I'm trying to download files from a directory, without the other directories in the wanted directory.
I've searched over the Internet for an answer, and the only thing I found is to use FileMask
"|*/"
in TransferOptions
, which isn't working, and downloads nothing.
Using the latest version (5.7.5)
TransferOptions t = new TransferOptions { FileMask = "|*/" };
session.GetFiles("/", @"C:\bla", false, t);