Net::FTP was: (Re: Reminder: Phoenix.pm: Meeting 12/20/2001)
Doug Miles
doug.miles at bpxinternet.com
Fri Dec 21 11:43:08 CST 2001
Li Guoya-A16499 wrote:
> Hi, I need a help from all of you since I am a junior perl programmer. Thank you in advance.
> I need to get modified date from a remote server through ftp. That means: I need to ftp a file and also I need the modified date of that file from a remote server. Any one can help me??
> Thank you very much.
> Merry Christmas and Happy New Year, Ho, Ho, Ho,...
> guoya
I would check out Net::FTP from CPAN. From the man page:
mdtm ( FILE )
Returns the modification time of the given file
I haven't used this before myself, but it looks like what you need.
More information about the Phoenix-pm
mailing list