# FTP : Time problem (net/ftp)

**URL:** <https://www.ruby-forum.com/t/ftp-time-problem-net-ftp/106188>\
**Category:** Ruby\
**Created:** [June 7, 2007, 9:47am UTC](https://www.ruby-forum.com/t/ftp-time-problem-net-ftp/106188 "2007-06-07T09:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vineetraja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c57346/32.png) [@vineetraja](https://www.ruby-forum.com/u/vineetraja)\
**Post date:** [June 7, 2007, 9:47am UTC](https://www.ruby-forum.com/t/ftp-time-problem-net-ftp/106188/1 "2007-06-07T09:47:29Z")

</div>

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.

THE POINT:

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!

Thanks  
Raja
