LukeyBoy has asked for the wisdom of the Perl Monks concerning the following question:
So I'm writing a web grabbing utility, and all web related functions work great. Problem is I want to check a file's timestamp and see if the date and time of the file on the web server is more recent - and then obviously download a new version. Once that's done, I have to set the local file's timestamp to the server's.
I'm writing it under both Windows and Linux, and I've searched and cannot find a way to do this. Thanks in advance!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Changing and checking timestamps for files
by DamnDirtyApe (Curate) on Jul 03, 2002 at 06:18 UTC | |
Re: Changing and checking timestamps for files
by Anonymous Monk on Jul 03, 2002 at 05:48 UTC | |
by LukeyBoy (Friar) on Jul 03, 2002 at 05:51 UTC | |
Re: Changing and checking timestamps for files
by dda (Friar) on Jul 03, 2002 at 07:09 UTC | |
Re: Changing and checking timestamps for files
by flocto (Pilgrim) on Jul 03, 2002 at 07:01 UTC | |
Far OT (was Re: Changing and checking timestamps for) remote (files)
by little (Curate) on Jul 03, 2002 at 23:29 UTC | |
by dws (Chancellor) on Jul 03, 2002 at 23:38 UTC |