I'm trying to convert my sftp.GetFile to a single sftp.Download but am getting the following error: "Could not find source path ('/ITAPDB')."
In the debugger, I've observed the value of the source path, and it's: "\ITAPDB\*" which is believe is the correct format, but is not what the exception is throwing. The destination path is: "C:\AWCTSTempLocal\ITAPDB\"
When it goes through the sftp.GetFile, the path requested is: "\ITAPDB\COAOCT.zip", which is correct, and is in concert with the path used for the sftp.Download.
The code for the sftp.Download is:
rootPath = rootPath + "\\*";
sftp.Download(rootPath, localRootPath, TraversalMode.MatchFilesShallow);
Please advise as to possible conditions that could cause this.
Thank you
Rodney