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