|
Posted by Al Moodie on January 16, 2007, 5:07 pm
Please log in for more thread options
On 16 Jan 2007 14:28:30 +1100, Peter Billam
>According to "perldoc Net::FTP", binary is a method, just like
>login, put and quit are. That should mean something like:
>
>$ftp->login($username, $password)
> or die "Couldn't authenticate, even with username and password.\n";
>$ftp->binary()
> or die "Can't switch to binary mode: $!\n";
>$ftp->put($localfile)
> or die "Can't send $localfile: $!\n";
>
>Hope this helps, Regards, Peter
It's simple, it works. I guess I do not have a good understanding of
module use. Thank you.
Al Moodie
|