Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Net::FTP - Check if file already exists locally before download

by Paladin (Vicar)
on Mar 11, 2019 at 21:44 UTC ( #1231132=note: print w/replies, xml ) Need Help??


in reply to Re^2: Net::FTP - Check if file already exists locally before download
in thread Net::FTP - Check if file already exists locally before download

for my $file (@set_of_files) { $ftp->get ($file) unless (-e "/dir1/$file" or -e "/dir2/$file"); }
  • Comment on Re^3: Net::FTP - Check if file already exists locally before download
  • Download Code

Replies are listed 'Best First'.
Re^4: Net::FTP - Check if file already exists locally before download
by mitabrev (Novice) on Mar 12, 2019 at 08:24 UTC

    It works.

    Guess I tend to overthink and overcomplicate simple things.:)

    Thanks again!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2019-10-17 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?