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

Re: Re: NET::FTP Package

by insensate (Hermit)
on Nov 21, 2002 at 15:51 UTC ( #214796=note: print w/replies, xml ) Need Help??


in reply to Re: NET::FTP Package
in thread NET::FTP Package

Use strict.
And trap for errors:
use strict; my $ftp = Net::FTP->new( "$G_FTP_SITE" ) or die "Can't connect: $!"; $ftp->login( "$G_FTP_USERNAME","$G_FTP_PASSWORD" ) or die "Can't login +: $!; $ftp->binary () or die "Can't set mode to bin: $!";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2020-11-30 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?