Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Downloading only new files added to a local path with Perl (FTP)

by salva (Canon)
on Aug 19, 2020 at 13:46 UTC ( [id://11120903]=note: print w/replies, xml ) Need Help??


in reply to Downloading only new files added to a local path with Perl (FTP)

There are already plenty of utilities that can do that while handling errors an corner cases correctly.

For instance, I am a big fan of lftp, its mirror command can do what you are asking for.

  • Comment on Re: Downloading only new files added to a local path with Perl (FTP)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found