help with excluding subfolder in C#
Sorry to bother you but I'm having a terrible time trying to exclude a subfolder.
my directory structure looks like this. /parcs/download/PNB/Processed
I have an xml file in /parcs/download/PNB that I am moving to a local server. That works fine. However, my code is also finding the /Processed folder and transferring those files as well. How do I make it so that it only gets the files in /parcs/download/PNB and excludes /Processed?
my directory structure looks like this. /parcs/download/PNB/Processed
I have an xml file in /parcs/download/PNB that I am moving to a local server. That works fine. However, my code is also finding the /Processed folder and transferring those files as well. How do I make it so that it only gets the files in /parcs/download/PNB and excludes /Processed?
TransferOptions transferOptions = new TransferOptions(); transferOptions.TransferMode = TransferMode.Binary; transferOptions.FileMask = "*/"; TransferOperationResult transferResult; transferResult = session.GetFilesToDirectory("/parcs/download/PNB/", mApplicationDataPath,"*/",false, transferOptions);