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?? |
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.
In Section
Seekers of Perl Wisdom
|
|