Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Closed Unassigned: ListDirectory does not work with Wild Chars [2393]

$
0
0
When we try to use ListDirectory with a path like /directory1/test/*.txt it returns na exception with message "No Such File".

It's not possible to use Wild Chars? This appears to work on some SFTP servers (maybe Windows versions).

Thank you
Comments: ListDirectory returns all files in a given remote directory, and as such does not all for filtering.
SFTP itself does not provide this functionality, but it is ofcourse easy to implement yourself on top of SFTP.
The SFTP library would still have to retrieve all files in that directory though.

Do not hesitate to reopen this issue if you have more questions.

Viewing all articles
Browse latest Browse all 1026

Trending Articles