in reply to Preserving timestamps with Net::FTP

If $ftp->mdtm() is not working for you, why not rename the files when you are done retrieving the file on the remote system, to e.g., "$oldfilename.done". Then you know you've already got it.
  • Comment on Re: Preserving timestamps with Net::FTP

Replies are listed 'Best First'.
Re: Re: Preserving timestamps with Net::FTP
by IraTarball (Monk) on Jun 25, 2001 at 23:55 UTC
    That's an interesting idea. I would have to rename it file.oldtime though since the idea is to be able to do daily updates to the website from a local source. It would just be cleaner if I could preserve the time on the file attributes so that mdtm() worked.

    Thanks,
    Ira

    "So... What do all these little arrows mean?"
    ~unknown