Hello all,
I'm using Net::FTP and try to 'put' a file by a filehandle.
( http://search.cpan.org/doc/GBARR/libnet-1.0703/Net/FTP.pm :
" put ( LOCAL_FILE [, REMOTE_FILE ] )
Put a file on the remote server. LOCAL_FILE may be a name or a
filehandle. If LOCAL_FILE is a filehandle then REMOTE_FILE must be
specified. If REMOTE_FILE is not specified then the file will be stored in
the current directory with the same leafname as LOCAL_FILE " )
When I try to do the following :
.....
open(DUMBO,"<my.file");
$ftp->put(DUMBO,"remote.filename");
$ftp->quit;
close(DUMBO);
I got the message :
Cannot open Local file DUMBO: No such file or directory
What am I doing wrong ?
Thanks
Bas Janssen
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]