SSIS 2012 TransferOptions.FileMask causing exception has been thrown by the target of an invocation
Everything works great until I add the filemask...Once I do, I get an exception has been thrown by the target of an invocation...Could you please tell me what I'm doing wrong?
TransferOptions lTransferOptions = new TransferOptions();
lTransferOptions.FileMask = "LOR*.zip" ;
TransferOperationResult lTransferResult = lSession.GetFiles(remotePath, localPath, false, lTransferOptions);
lTransferResult.Check();
Thank you
TransferOptions lTransferOptions = new TransferOptions();
lTransferOptions.FileMask = "LOR*.zip" ;
TransferOperationResult lTransferResult = lSession.GetFiles(remotePath, localPath, false, lTransferOptions);
lTransferResult.Check();
Thank you