Re: FileDate on directories

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

"Christian Kaufmann" <christian.kaufma…> wrote in message

> 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)



In response to

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