Posted: 2012-10-16 16:41
Calling ListDirectory with a wildcard is throwing an exception.
The WinSCP debug log shows that the method is appending a "/" to the end of the path, which is causing the error:
Command: [ls -- "/dir/subdir/*.xml/"]
I've tested this against FTP and SFTP servers with the same results.
I'm using WinSCP version 5.1.
Location: Prague, Czechia
Session.ListDirectory does not handle wildcards.
You can post new topics in this forum
And it's free!