Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Using Net::FTP need to get latest file from the directory ?

by ig (Vicar)
on Mar 11, 2009 at 08:49 UTC ( #749822=note: print w/replies, xml ) Need Help??


in reply to Re: Using Net::FTP need to get latest file from the directory ?
in thread Using Net::FTP need to get latest file from the directory ?

You can use the ls or dir method to get a list of the files in the directory, then use the mdtm method on each file to get its modification time and select the file with the latest modifiction time.

  • Comment on Re^2: Using Net::FTP need to get latest file from the directory ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://749822]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-07-18 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (388 votes). Check out past polls.

    Notices?