using file masks in SFTPClient
Posted: Mon 05 Feb 2018 17:08
Hi,
ist it possible to use a filemask when requesting a directory content with the sftpclient component or do I have to read a whole directory and do the filtering for the filenames which I want to use by myself?
kind regards
Martin
ist it possible to use a filemask when requesting a directory content with the sftpclient component or do I have to read a whole directory and do the filtering for the filenames which I want to use by myself?
Code: Select all
// this works as expected
dirHandle := ScSFTPClient.OpenDirectory('/');
// providing a filter mask doesn't work
dirHandle := ScSFTPClient.OpenDirectory('/x12*.txt');
Martin