Exclude Sub Folders
I am using VB.NET and I am retrieving files from a folder named
I am using the code below...
When I inserted the line
I do not retrieve anything and I get the error message
Thanks!
/Output
. Apparently there are sub-folders that have been added that I do not want to retrieve files from.
I am using the code below...
Dim transferOptions As New TransferOptions transferOptions.TransferMode = TransferMode.Binary transferOptions.FileMask = "|*/" Dim transferResult As TransferOperationResult transferResult = session.GetFiles(My.Settings.Source, My.Settings.Destination, False, transferOptions)
transferOptions.FileMask = "|*/"
Can someone tell me what I have wrong here?Could not find directory '/Outbound'.
Thanks!