Hi Monks,
I got a follow up question. Is it possible to use the same command to check if file exists in two or more different directorites?
for my $file (@set_of_files) { $ftp->get ($file) unless -e /dir1/$file; }
so basically to check:
unless -e /dir1/$file unless -e /dir2/$file
something like that?
Thanks again.
In reply to Re^2: Net::FTP - Check if file already exists locally before download
by mitabrev
in thread Net::FTP - Check if file already exists locally before download
by mitabrev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |