ArxOne / FTP

Simple FTP client
MIT License
37 stars 15 forks source link

FtpEntry.Data always reports time as 00:00 #22

Closed ontytoom closed 8 years ago

ontytoom commented 8 years ago

It seems that the time is always shown as 00:00 If I check ftp folder listings manually, the times are displayed. Perhaps only the date is parsed but the time is skipped?

This is not a show stopper, but would be nice to have :-)

image

ontytoom commented 8 years ago

I apologize, I think I am wrong. Time is zero when the server only shows "month day year", but for current year server shows "month day time".

Researching...

picrap commented 8 years ago

Are you using LISTor MLSD to list files? When available, MLSD is more accurate.

ontytoom commented 8 years ago

I am using ftp.ListEntries(), so I think it's LIST? I will try MlsdEntries() to see if it helps. Thank you.

picrap commented 8 years ago

:+1: that was the idea