Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Accepted Data Connection "error" using put method of Net::FTP

by Only1KW (Sexton)
on Sep 01, 2013 at 20:12 UTC ( [id://1051858]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ftp = Net::FTP->new($ftpServer, Debug => 0) or die "Cannot connect
    + to $ftpServer: $@";
        $ftp->login($ftpUsername, $ftpPassword) or die 'Cannot login: ' . 
    +$ftp->message . "\n";
        $ftp->mkdir($webServerDir);
        $ftp->cwd($webServerDir) or die "Cannot change working directory t
    +o $webServerDir: " . $ftp->message . "\n";
        $ftp->put($file) or die "Cannot copy file to server: " . $ftp->mes
    +sage . "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1051858]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found