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:18:18 |
"dpap" <dpap@softwaypro.gr> wrote in message
news:447601cd@newsgroups.borland.com...
> PS. why idFTP.list returns no year for some files ?
List() itself doesn't parse the data at all. That only occurs when you
access the DirectoryListing property after calling List(). With that said,
there are literally dozens of completely different formats used online for
FTP listings. Not all of them include year values to begin with. Since you
didn't say which version of Indy you are using, all I can tell you is that
Indy 9 and earlier supported only a few of those formats, and Indy 10
supports a lot more of them but you have to activate them manually in your
code in order for Indy to use them.
Without seeing your actual code, or knowing your Indy version, or knowing
what listing format is being returned by the server, there is no way to know
for sure why you are not getting year values returned.
Gambit