Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: ftp get

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


in reply to ftp get

What error do you get when you use ftp::get()?
By the way, which version of ftplib.pl are you using?
You may want to consider using Net::FTP instead.

-imran


Comment on Re: ftp get
Re^2: ftp get
by pglinx (Acolyte) on May 11, 2006 at 19:12 UTC
    cannot get ninpaths.tx version 1.1 I'll research Net::FTP
      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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-09-17 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (92 votes), past polls