Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Answer: How can I retrieve a file from a UNIX server using Perl on a Windows NT client?

by scottstef (Curate)
on Mar 11, 2001 at 21:32 UTC ( [id://63628]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I retrieve a file from a UNIX server using Perl on a Windows NT client?
in thread How can I retrieve a file from a UNIX server using Perl on a Windows NT client?

I have pretty much the same code---However I get a

can't call method "login" on an undefined value at ftp.pl line (number of line login is)

error when I try to execute the script. I used the same script with different variables on a unix host, and it worked fine, however it won't work on NT.

  • Comment on Re: Answer: How can I retrieve a file from a UNIX server using Perl on a Windows NT client?

Replies are listed 'Best First'.
(tye)Re: Answer: How can I retrieve a file from a UNIX server using Perl on a Windows NT client?
by tye (Sage) on Mar 12, 2001 at 03:22 UTC

    Well, you might be able to figure out why it is failing if chromatic hadn't left out all error checking. Bad, bad chromatic. No biscuit! (Of course it doesn't help that the Net::FTP docs are just as bad... Bad, bad Graham. No biscuit!)

    $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Can't create Net::FTP object: $@\n";
            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-18 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found