Download Files based on extension
Hello,
I want to download a file using C# WINSCP based on file extension. Here is my code to do that, but it doesn't work.
AM I missing anything?
This code below:
Downloads all the files.
I want to download a file using C# WINSCP based on file extension. Here is my code to do that, but it doesn't work.
session.GetFiles(remoteLocation + "*txt", localDestination, delRemoteFile, transferOptions);
This code below:
Downloads all the files.
session.GetFiles(remoteLocation + "*", localDestination, delRemoteFile, transferOptions);