Re: error message with net::FTP
- From: rcook@xxxxxxxxxxx (Owen)
- Date: Fri, 29 Jul 2005 09:06:52 +1000
On Thu, 28 Jul 2005 10:17:35 -0400
"Laurent Coudeur" <Laurent_Coudeur@xxxxxxxxxxxxxx> wrote:
> I am having some trouble with net::FTP module
> I get this error message
> Timeout at /usr/lib/perl5/5.8/Net/FTP.pm line 1001
>
> the script list directories in a path
> then loops and list subdirectories
> I can connect and list files but as I try to ls into final sub-directory
> it hangs I get into the directory but cannot list
>
> foreach (@list){
> $ftp->cwd();
> $ftp->cwd("$_");
> my @filelist=$ftp->ls($_) or print LOG "cannot get in project folder
> $_";
I wonder if your $_ is being clobbered, what happens if you try
foreach my $item(@list){
and replace all instances of $_ with $item
Owen
.
- References:
- error message with net::FTP
- From: Laurent Coudeur
- error message with net::FTP
- Prev by Date: Re: Getting Date Stamp of a file on a Win32 System
- Next by Date: Re: open > file && s/ / /;
- Previous by thread: error message with net::FTP
- Next by thread: RE: error message with net::FTP
- Index(es):
Relevant Pages
|