Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: ftp get

by CountOrlok (Friar)
on May 11, 2006 at 20:57 UTC ( #548842=note: print w/ replies, xml ) Need Help??


in reply to Re^2: ftp get
in thread ftp get

Version 1.1? That's like from 1995 or something!!
Looking at your syntax, it seems you are getting guidance from a Perl 4 book. Although the syntax still works, I'd recommend finding a guide that teaches Perl 5.6 or greater (unless you are supporting systems that use older versions of Perl).
After your get() fails, what does Ftp::error() return?
The version of ftplib.pl I found through google (version 1.1L) does not declare the $Error variable as a global. Not sure why.
-imran


Comment on Re^3: ftp get

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2015-07-01 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (15 votes), past polls