Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: how get file time with indy ftp client ?
| Subject: | Re: how get file time with indy ftp client ? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Sat, 19 Aug 2006 12:28:52 |
"rodolfor" <rodolfor@euristica.com> wrote in message
news:44e6e7a6$1@newsgroups.borland.com...
> I need to get file time using indy ftp client 10.1.5.
> Using FTP.List(Items, '', true) retrieve only the date
> for the file. How can I do ?
After calling List(), all of the file details are available in the
DirectoryListing property.
Since you are using Indy 10, make sure that you have included the desired
IdFTPListParse... unit(s), or the IdAllFTPListParsers unit, in your uses
clause. Otherwise, the DirectoryListing won't know what to do. Indy 10
uses a plugin system for the DirectoryListing, as there are dozens of
formats used online. None of the parsers are enabled by default. Including
them in the uses clause enabled them.
Gambit
none