This page requires javascript.
Message Too Old, No Replies
How do you get a file's stats with Net::FTP?
date created specifically...
11:48 am on Aug 27, 2003 (gmt 0)
12:14 pm on Aug 27, 2003 (gmt 0)
You can never get date created unless it's also date last modified. For modified date you can use this:
mdtm ( FILE ) Modified example from synopsis:
use Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 0); $ftp->login("anonymous",'me@here.there'); $ftp->cwd("/pub"); $ftp->mdtm("that.file"); Link: [xav.com ...]
/claus
12:21 pm on Aug 27, 2003 (gmt 0)
Works perfectly. Thanks claus! :)
Thanks for the reference too, I was having a heck of a time finding anything useful on perldoc. i was just blindly trying FTP cmds, heh. Not the most productive way of doing things.
Jordan