Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

LWP::Parallel::Protocol::ftp

Name LWP::Parallel::Protocol::ftp
Version
Located at /usr/local/share/perl5
File /usr/local/share/perl5/LWP/Parallel/Protocol/ftp.pm
Is Core No
Search CPAN for this module LWP::Parallel::Protocol::ftp
Documentation LWP::Parallel::Protocol::ftp
Module Details LWP::Parallel::Protocol::ftp
($socket, $second_arg) = $prot->handle_connect ($req, $proxy, $timeout);
This method connects with the server on the machine and port specified in the $req object. If a $proxy is given, it will return an error, since the FTP protocol does not allow proxying. (See below on how such an error is propagated to the caller).

If successful, the first argument will contain the IO::Socket object that connects to the specified site. The second argument is empty (for ftp, that is. See LWP::Protocol::http for different usage).

If the connection fails, $socket is set to 'undef', and the second argument contains a HTTP::Response object holding a textual representation of the error. (You can use its 'code' and 'message' methods to find out what went wrong)

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024