Because it is the Unix format for dir lists.
If you change that, clients have problems parsing the dir list.
It is also related to the value returned by the SYST command.

--
[EMAIL PROTECTED]
http://www.overbyte.be

----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, March 14, 2006 3:08 PM
Subject: [twsocket] TFtpServer time not listed


> Hi,
> 
> Why is the time not listed if the file has been modified 
> last year?
> 
> FtpSrv.pas, function FormatUnixDirEntry(F : TSearchRec) : String; 
> ..
> if Year = ThisYear then
>     TimeStr := Format('%2.2d:%2.2d', [Hour, Min])
> else
>     TimeStr := Format('%5d', [Year]);
> 
> 
> ---
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to