Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: New to Perl: Finding files on FTP

by runrig (Abbot)
on Mar 14, 2012 at 20:29 UTC ( [id://959662]=note: print w/replies, xml ) Need Help??


in reply to Re^2: New to Perl: Finding files on FTP
in thread New to Perl: Finding files on FTP

If you can't change to the directory, you probably can't list the directory or get files from the directory either. Add $ftp->message() to all the "or die" messages after the connect to get the reason for failure (on connect, $@ gives the reason). E.g.:
... or die "cannot list any DIRs " . $ftp->message();

Replies are listed 'Best First'.
Re^4: New to Perl: Finding files on FTP
by Klaas (Initiate) on Mar 15, 2012 at 10:58 UTC
    Thanks, will do!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-03-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found