in reply to Re: ftp'ing 'Find' results from an array
in thread ftp'ing 'Find' results from an array
But it doesn't work because it stops at the . or .. directories. The 'get' line chokes there. My 'Find' question obviously won't work as it only returns me the local files. I am just out of tricks on this one. In short, what I am trying to do, is: FTP there cd to a dir. get all the files there and below. close connection. seems simple.@data=$ftp->ls("-R"); foreach $line (@data) { $ftp->get($line); print $line."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: ftp'ing 'Find' results from an array
by Tomte (Priest) on Aug 13, 2002 at 18:43 UTC |