Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

NET::FTP: ls command fails

by esskar (Deacon)
on Sep 22, 2006 at 07:50 UTC ( #574340=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ftp = Net::FTP->new( $row->{ftp_host}, Debug => 1)
     or die "Cannot connect to " . $row->{ftp_host} . ": $@";
    ...
    $ftp->pasv;    
         
    my @dir = $ftp->ls; # <-- LINE 50
    
  2. or download this
    Net::FTP>>> Net::FTP(2.75)                                            
    +         
    Net::FTP>>>   Exporter(5.58)                                          
    +         
    ...
    Net::FTP=GLOB(0x8521bbc)<<< 227 Entering Passive Mode (64,74,223,25,15
    +,182).   
    Net::FTP=GLOB(0x8521bbc)>>> PORT 192,168,1,101,130,121                
    +         
    Net::FTP: Unexpected EOF on command channel at getenomlogs.pl line 50
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-06-06 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (26 votes). Check out past polls.

    Notices?