Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: FtpFindFirstFile and date problem
| Subject: | Re: FtpFindFirstFile and date problem |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 25 May 2006 12:58:31 |
"dpap" <dpap@softwaypro.gr> wrote in message
news:44760b48$1@newsgroups.borland.com...
> I use indy10.
Did you add any of the IdFTPListParse... units to your 'uses' clause? You
need to do so in order for the DirectoryListing property to parse any data.
TIdFTP in Indy 10 uses a plugin architecture for the parsers. There are no
parsers registered by default, so that the programmer can choose which
parser(s) to use. If you want to enable all of the available parsers, then
add the IdAllFTPListParsers unit to the 'uses' clause instead of individual
units.
> the results are :
<snip>
> as you see the first five files have year information, the sixth no, etc
The sixth item is a directory, not a file.
Gambit