Forum: Ruby FTP : Time problem (net/ftp)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
41918fc34e4c3a365eabbd04ba9b551d?d=identicon&s=25 Vin Raja (vineetraja)
on 2007-06-07 09:47
Hi All

I tried to get down with some ftp stuff and got stuck-up at this:

 Using net/ftp, When I try running ls or list methods I get the
directory listings detailing everything including "modified time" BUT
with missing year information.

 But when i tried the same stuff with the 'chilkat' ftp module , the
listing included the elusive 'year' information.

 1. Is there any way in RUBY to get the modified time (except the mdtm
because that DOES NOT work on the ftp server in question).

  On a second note how did the chilkat guys do it and if they can
perhaps anyone else can too!

This topic is locked and can not be replied to.