Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Net::FTP and 'Illegal PORT command'

by Bukowski (Deacon)
on Jul 17, 2002 at 10:49 UTC ( #182378=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    $ftp->cwd($path) || die "couldn't cwd! $!\n";
    $ftp->get($filename) || die "get($filename) failed: " . $ftp->code() .
    + ": " . $ftp->message();
    $ftp->quit;
    
  2. or download this
    [dswan@ashtaroth GUP]$ perl ftp.pl
    get(chr5.zip) failed: 500: Illegal PORT command.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://182378]
Approved by zejames
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-20 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?