Query: authen::simple::ftp
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Authen::Simple::FTP(3pm) User Contributed Perl Documentation Authen::Simple::FTP(3pm)NAMEAuthen::Simple::FTP - Simple FTP authenticationSYNOPSISuse Authen::Simple::FTP; my $ftp = Authen::Simple::FTP->new( host => 'ftp.company.com' ); if ( $ftp->authenticate( $username, $password ) ) { # successfull authentication } # or as a mod_perl Authen handler PerlModule Authen::Simple::Apache PerlModule Authen::Simple::FTP PerlSetVar AuthenSimpleFTP_host "ftp.company.com" <Location /protected> PerlAuthenHandler Authen::Simple::FTP AuthType Basic AuthName "Protected Area" Require valid-user </Location>DESCRIPTIONAuthenticate against a FTP service.METHODS* new This method takes a hash of parameters. The following options are valid: * host Connection host, can be a hostname or IP number. Defaults to "localhost". host => 'ftp.company.com' host => '10.0.0.1' * port Connection port, default to 21. port => 21 * timeout Connection timeout, defaults to 60. timeout => 60 * log Any object that supports "debug", "info", "error" and "warn". log => Log::Log4perl->get_logger('Authen::Simple::FTP') * authenticate( $username, $password ) Returns true on success and false on failure.SEE ALSOAuthen::Simple. Net::FTP.AUTHORChristian Hansen "ch@ngmedia.com"COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2008-03-01 Authen::Simple::FTP(3pm)
Related Man Pages |
---|
authen::simple(3pm) - debian |
authen::simple::kerberos(3pm) - debian |
authen::simple::pop3(3pm) - debian |
authen::simple::radius(3pm) - debian |
authen::simple::smb(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
FTP again |
can we ftp a directory |
FTP thru IE |
in ftp how to avoid username/password |
FTP search ,grep using perl |