 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
rodolfor Guest
|
Posted: Sat Aug 19, 2006 3:27 pm Post subject: how get file time with indy ftp client ? |
|
|
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 ?
Thanks- |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Aug 20, 2006 12:28 am Post subject: Re: how get file time with indy ftp client ? |
|
|
"rodolfor" <rodolfor (AT) euristica (DOT) com> wrote in message
news:44e6e7a6$1 (AT) newsgroups (DOT) borland.com...
| Quote: | 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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|