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

NET::FTP: ls command fails

by esskar (Deacon)
on Sep 22, 2006 at 07:50 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-07-22 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.