On Thu, 23 Nov 2017 00:09:36 +0100, Bo Berglund
<bo.bergl...@gmail.com> wrote:

>I need to get a list of the files that match a specific format like:
><name>_<date>.zip
>I could of course traverse the supplied TStrings and look at the first
>char (discard all d entries) and check if the last part is .zip.
>But it would be a lot easier if the list could be limited to the
>filenames only.

In fact the windows7 command line ftp client can do this:

ftp> ls CVS*.zip
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
CVS_Config_2017-09-28.zip
226 Transfer complete.

Is there a corresponding way for IdFTP to perform a wildcard list and
returning just the matching files?


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to