Title: RE: maintaining file dates when using Net::FTP
Here's what I do:
$tmeModified = $objFtp->mdtm($src);
$objFtp->get($src, $dst) or urp( "Could not get $src as $dst. Error: " . $objFtp->message() . "\n");
utime $tmeModified, $tmeModified, $dst;
---
Paul Decker wrote:
> I've been doing some FTPs using the Net::FTP module, and the dates on
> the files are being reset to the current date. I'd like to keep the
> creation date from the server. How do I do that?
You might be able to use the utime command via the FTP site command.
Probably mor
I've been doing some FTPs using the Net::FTP module, and the dates on the
files are being reset to the current date. I'd like to keep the creation
date from the server. How do I do that?
Thanks
pd
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]