Re: FileDate on directories

Giganews Newsgroups
Subject: Re: FileDate on directories
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 17 Mar 2009

"Christian Kaufmann" <christian.kaufma…@gmx.net> wrote in message
news:bpuur41mbk1hv8587cch3cp43p7ubivl…@4ax.com...

> I try to use TIdFTP.FileDate on a directory, but the
> datetime is always zero.

Not all FTP directory listing formats provide dates for folders.

> I looked into the code and the SendCmd function returns an error (550).

Then the entire directory listing is failing.  There should have been an
exception raised explaining why.

--
Remy Lebeau (TeamB)

Replies

None

In response to

FileDate on directories posted by Christian Kaufmann on Tue, 17 Mar 2009