NeverMore has asked for the wisdom of the Perl Monks concerning the following question:
That's basically it. I get a "PROBLEM: Bad file descriptor" error in my log. Please reply if you can help#!/usr/bin/perl use CGI qw(:all); use Net::FTP; $ftp = Net::FTP->new('foo.com') or die "PROBLEM: $!\n"; $ftp->login('foo','bar') or die "PROBLEM: $!\n"; $ftp->cwd('/incoming') or die "PROBLEM: $!\n"; $ftp->put(param('file')) or die "PROBLEM: $!\n"; $ftp->quit();
-NM
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Net::FTP and param()
by t0mas (Priest) on Aug 15, 2000 at 10:14 UTC | |
by Anonymous Monk on Aug 15, 2000 at 10:38 UTC | |
by t0mas (Priest) on Aug 15, 2000 at 11:12 UTC | |
|
RE: Net::FTP and param()
by merlyn (Sage) on Aug 15, 2000 at 15:21 UTC | |
|
Re: Net::FTP and param()
by NeverMore (Acolyte) on Aug 16, 2000 at 03:46 UTC |