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

Answer: How do I change the modification time of a file?

by merlyn (Sage)
on Feb 28, 2001 at 21:25 UTC ( #61359=categorized answer: print w/replies, xml ) Need Help??

Q&A > files > How do I preserve file times when using Net::FTP? - Answer contributed by merlyn

I believe if you wrap your request into an LWP::Simple mirror call instead (using an FTP URL), the mirror code correctly sets the time stamp, which means that there's some code in there somewhere to consistently understand the remote timestamp. Setting the timestamp locally is trivial: use the utime operator.

  • Comment on Answer: How do I change the modification time of a file?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-03-29 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (169 votes). Check out past polls.

    Notices?