Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net::FTP two ?'s

Status
Not open for further replies.

WintersMystic

Programmer
Aug 8, 2001
39
0
0
US
ok, i am trying to install a FTP program(transloader for webtv users) on Hypermart. the script works on my other server fine. but on hypermart i keep getting "Bad File Descripter" on the Host line.

Code:
use Net::FTP;
$ftp = Net::FTP->new("$host") or die "Host: $!";

any ideas on what the prob is?

and two. how can i go about getting the "conversation" between both servers? ive thought maybe STDOUT, but im not sure.

Thank you very much :)

email me answers as well as post please.
 
One:

Can you use ftp in the normal way on hypermart?

Two:

From the Net::FTP documentation:

$ftp = Net::FTP->new("some.host.name", Debug => 1);

This will write debug information to STDERR. Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top