Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The reason why wget works for you and Net::FTP doesn't is that wget uses passive FTP. If you set the FTP_PASSIVE environment value to a true value, Net::FTP will use passive FTP.
    --

    --
    "Cake or Death!" .... "Cake please"
    • Heh. Close. Actually, there are circumstances where FTP needs to be proxied and Net::FTP doesn't (cannot) understand a http based proxy. In this case, wget, lynx, ncftp etc. work perfectly happily. But because we haven't downloaded LWP into our fresh install we don't have something in perl that understands an http proxy. That won't stop Net::FTP from trying and eventually timing out and having the others tried.
      --
        ---ict / Spoon
      • Net::FTP SUCKS BIG! export FTP_PASSIVE=1 doesnt works in debian. Do yourself a favour: locate -i net | grep -i ftp | grep perl them rm -r all of it and use wget!!!