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


Manual Reference Pages  -  NET::FTP::DATACONN (3)

.ds Aq ’

NAME

Net::FTP::dataconn - FTP Client data connection class

CONTENTS

DESCRIPTION

Some of the methods defined in Net::FTP return an object which will be derived from this class. The dataconn class itself is derived from the IO::Socket::INET class, so any normal IO operations can be performed. However the following methods are defined in the dataconn class and IO should be performed using these.
read ( BUFFER, SIZE [, TIMEOUT ] ) Read SIZE bytes of data from the server and place it into BUFFER, also performing any <CRLF> translation necessary. TIMEOUT is optional, if not given, the timeout value from the command connection will be used.

Returns the number of bytes read before any <CRLF> translation.

write ( BUFFER, SIZE [, TIMEOUT ] ) Write SIZE bytes of data from BUFFER to the server, also performing any <CRLF> translation necessary. TIMEOUT is optional, if not given, the timeout value from the command connection will be used.

Returns the number of bytes written before any <CRLF> translation.

bytes_read () Returns the number of bytes read so far.
abort () Abort the current data transfer.
close () Close the data connection and get a response from the FTP server. Returns true if the connection was closed successfully and the first digit of the response from the server was a ’2’.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::FTP::DATACONN (3) 2016-01-05

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