Re: Net::FTP help needed



On 16 Jan 2007 14:28:30 +1100, Peter Billam
<peter@xxxxxxxxxxxxxxxxxxxx> wrote:


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
.



Relevant Pages

  • Re: Net::FTP help needed
    ... or die "Couldn't authenticate, even with username and password. ... documentation. ...
    (comp.lang.perl.modules)
  • Re: Windows 2000 Authentication
    ... Try to have a look in the Microsoft knowledge base... ... > constantly prompts for username and password and will not ... > authenticate. ...
    (comp.security.firewalls)
  • Re: Windows 2000 Authentication
    ... Try to have a look in the Microsoft knowledge base... ... > constantly prompts for username and password and will not ... > authenticate. ...
    (comp.security.firewalls)
  • Net::FTP help needed
    ... I've got Net::FTP working uploading a .txt file. ... or die "Couldn't authenticate, even with username and password. ...
    (comp.lang.perl.modules)
  • Re: IIS authentication Problems
    ... I have changed this option to "Automatic Logon with current username and ... Best Regards, ... > Authentication you will see checked "Automatic logon only in Intranet ... >> on the same subnet with Domain and Web Server, and If I go the this Web ...
    (microsoft.public.inetserver.iis.security)