Hi Michael

First, and most obviously, your actual parameters for new() are a little
odd. 'debug' needs to be 'Debug' (and that fix on its own will give you a
lot more information) and 'ftp_passive' should be 'Passive' (although it
shouldn't make mucxh difference).

See what you get with debug enabled.

Cheers,

Rob

"Michael Kramer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> For some reason when I use NET:FTP's get. I will get an error of "Bad
> file descriptor". What does this mean. Here is my code.
>
> I left stuff out last time.
>
> use Net::FTP;
>
> $ftp = Net::FTP ->new("$ip_address",
> Timeout => 200,
> debug => 1,
> ftp_passive => 1)
> or die "Can't connect: $!n";

[snip remainder of code]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to