in reply to Using NET::FTP with Unkown File Names
be sure to add error checking code to the above for "real live" useuse Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 0); $ftp->login("anonymous",'me@here.there'); $ftp->cwd("/pub"); my @l=$ftp->ls(); foreach(@l){ $ftp->get($_); } $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using NET::FTP with Unkown File Names
by mikeB (Friar) on Jul 07, 2001 at 00:11 UTC |