in reply to Re: FTP downloading failed
in thread FTP downloading failed
I try to print the $ftpret, it was null.my $ftp = Net::FTP->new($input->{remote_ip}, Debug => 0, Timeout => 8) +; $ftp->login($input->{remote_login}, $input->{remote_password}) or push + (@$error_minilog, "Cannot login to repository: Invalid login or pass +word"); $ftp->type('I'); $ftp->cwd($input->{remote_path}) or push (@$error_minilog, "Cannot cha +nge repository path"); my $ftpret = $ftp->get("filename", "localfilename") or push (@$error_m +inilog, "Failed to download file");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: FTP downloading failed
by bobn (Chaplain) on Jun 25, 2003 at 06:38 UTC | |
by bobn (Chaplain) on Jun 25, 2003 at 06:42 UTC |