GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LWP::Parallel::Protocol::ftp(3) User Contributed Perl Documentation LWP::Parallel::Protocol::ftp(3)

($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)

Hey! The above document had some coding errors, which are explained below:
Around line 85:
'=item' outside of any '=over'

=over without closing =back

2016-05-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.