in reply to How do I preserve file times when using Net::FTP?

To accomplish this without using LWP you can do:
$mod_time = $ftp->mdtm($remote_file);
$ftp->get($remote_file,$local_file);
$resp = utime($mod_time,$mod_time,$local_file);
This should work on everything but FAT Win32.
  • Comment on Re: How do I preserve file times when using Net::FTP?