Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Net::FTP

by Hue-Bond (Priest)
on May 02, 2006 at 04:05 UTC ( [id://546810]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $pseudo_file = "line1\nline2\n";
    open my $rfd, '<', \$pseudo_file or die "open1: $!";
    open my $wfd, '>', 'foo' or die "open2: $!";
    print $wfd $_ while <$rfd>;      ## or 'print $wfd (<$rfd>);' if file 
    +isn't large
    close $wfd;
    close $rfd;
    
  2. or download this
    open my $fh, '<', \$pseudo_file_already_generated or die "open: $!";
    $ftp->login("perl",'monk') or die "blah";
    $ftp->put($fh, 'fh.txt') or warn "blah";
    $ftp->quit;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://546810]
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-16 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found