Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 ( #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
Node Status?
node history
Node Type: note [id://11120903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2021-04-15 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?