Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Preserving timestamps with Net::FTP

by runrig (Abbot)
on Jun 25, 2001 at 23:45 UTC ( [id://91405]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://91405]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found