From: luke gruber Date: 2011-08-05T08:06:50+09:00 Subject: Re: Get remote and local file version and time stamp Not sure if this is what you're looking for, but here's the timestamp at least. File#mtime File.new("testfile").mtime #=> Wed Apr 09 08:53:14 CDT 2003 #this is assuming that you want to do something in Ruby if the file is of a certain age Class FTP def timestamp(abs_path, cond, &block) file = File.new(abs_path) file.mtime == cond ? yield(file) : file.mtime end end check out http://www.ruby-doc.org/core/classes/File.html For the version, what kind of versioning are you talking about? My bad if this isn't what you're asking for, -Luke -- Posted via http://www.ruby-forum.com/.