on 01/30/2001 06:56 PM, Nicholas G. Thornton at
[EMAIL PROTECTED] wrote:

> Net::FTP says you can ->put(FILEHANDLE, $destination) But how exactly do you
> go
> about it?
> 
> open(FILE, '>temp');
> $ftp->put(FILE, $destination);
> 
> doesn't work. I assume it's one of the | things, but I know too little about
> how filehandles actually work


you're thinking it it backwards.. put is SEND, get is RETRIEVE :) (look at
your open statement)

see perlfunc and perlfaq5 for more explicit details, as well as the Net::FTP
docs

are you using the most recent libnet install ?

#!perl -w
use Net::FTP;

print $Net::FTP::VERSION;


-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/


Reply via email to