in reply to Net::FTP Won't Log In, But Does the Second Time

If you are running it "as a CGI", make sure that your web server is not inside a chroot jail or has not any syscall filtering, like systrace...
I have this problem some months ago (with Net::Telnet) and then I found out that "systrace" was causing the problem.
Did it work running from the command line ?

-DBC
  • Comment on Re: Net::FTP Won't Log In, But Does the Second Time

Replies are listed 'Best First'.
Re^2: Net::FTP Won't Log In, But Does the Second Time
by rjahrman (Scribe) on Aug 03, 2004 at 22:14 UTC
    On this account I don't have SSH access, though I might get it enabled tomorrow . . . I think that this is just one account on the server that the person I'm doing this for has.

    Until then, is there anything else that I can do? I could run it from my own computer in shell, but if the problem really is a utility in the server then that really wouldn't help me much.

    Can I call message() if Debug mode is on? Would I just do that with this?
    $ftp = ...
    print $ftp->message();