Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: NET::FTP: ls command fails

by jesuashok (Curate)
on Sep 22, 2006 at 08:41 UTC ( [id://574343]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Net::FTP;
    
    ...
    my @dir = $ftp->ls; # <-- LINE 50
    
    print "Files :" , join('-',@dir), "\n";
    
  2. or download this
    C:\Perl>perl l.pl
    Net::FTP>>> Net::FTP(2.75)
    ...
    aw_spr-param.xml-etc-ext-install_setup.ksh-logs-maeve-metrica_healthch
    +eck.html-n
    ohup.out-one.pl-setup.ksh-setup.tpl-setup_appserver.ksh-setup_informix
    +.ksh-setup
    _java.ksh-setup_openfusion.ksh-update3FFPromo.pl-utils
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-09-14 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    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.