Re: About idFTP and .LIST member

Giganews Newsgroups
Subject: Re: About idFTP and .LIST member
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Wed, 12 Nov 2008

"Loris Luise" <loris.lui…@tiscali.it> wrote in message
news:622D3E6D626AE340loris.lui…@tiscali.it...

> I use this command
<snip>
> to have returned a directory listing from  ftp server
> of all files with PDF extension.
>
> Is that right?

Yes.

> there is an issue.... in a case where ftp server supports MLSD
> command (in the feature list, for example Filezilla server, ZFTP
> server, and maby other i think)
>
> then  ASpecifier parameter ... is completely ignored

As it should be, because MLSD does not support wildcard specifiers.  The
only option is to download the entire listing and then remove the unwanted
items from the result afterwards.

> So i modified like this

You could simply set the TIdFTP.UseMLIS property to False instead.

--
Remy Lebeau (TeamB)

Replies

None

In response to

About idFTP and .LIST member posted by Loris Luise on Wed, 12 Nov 2008