Net::FTP::dataconn - Online Linux Manual PageSection : 3
Updated : 2023-03-21
Source : perl v5.36.0
Note : User Contributed Perl Documentation

NAMENet::FTP::dataconn − FTP Client data connection class

SYNOPSIS​ # Perform IO operations on an FTP client data connection object: ​ ​ $num_bytes_read = $obj−>read($buffer, $size); ​ $num_bytes_read = $obj−>read($buffer, $size, $timeout); ​ ​ $num_bytes_written = $obj−>write($buffer, $size); ​ $num_bytes_written = $obj−>write($buffer, $size, $timeout); ​ ​ $num_bytes_read_so_far = $obj−>bytes_read(); ​ ​ $obj−>abort(); ​ ​ $closed_successfully = $obj−>close();

DESCRIPTIONSome of the methods defined in \*(C`Net::FTP\*(C'\fR return an object which will be derived from this class. The dataconn class itself is derived from the \*(C`IO::Socket::INET\*(C'\fR 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'.

EXPORTSNone.

KNOWN BUGSNone.

AUTHORGraham Barr <gbarr@pobox.com <mailto:gbarr@pobox.com>>. Steve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining libnet as of version 1.22_02.

COPYRIGHTCopyright (C) 1997−2010 Graham Barr. All rights reserved. Copyright (C) 2013−2014, 2020 Steve Hay. All rights reserved.

LICENCEThis module is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the LICENCE file.

VERSIONVersion 3.15

DATE20 March 2023

HISTORYSee the Changes file.
0
Johanes Gumabo
Data Size   :   10,072 byte
man-Net::FTP::dataconn.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 171,444
Visitor ID   :     :  
Visitor IP   :   18.188.218.140   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Net::FTP::dataconn.3pm|24/25|el══─{─══.|.el══─{─══. ds C` )         (htmlprn|149|Net::FTP::dataconn.3pm|24/25|.el══─{─══. ds C` |.el══─{─══. ds C` )         (parse_manual_page_|249|Net::FTP::dataconn.3pm|27|br══─}─══|'br══─}─══ )         (htmlprn|149|Net::FTP::dataconn.3pm|27|'br══─}─══ |'br══─}─══ )         (rof_escape_sequence|91|Net::FTP::dataconn.3pm|84|\*(C`Net::FTP\*(C'\fR return an object which will |Some of the methods defined in \f(CW\*(C`Net::FTP\*(C'\fR return an object which will )         (rof_escape_sequence|91|Net::FTP::dataconn.3pm|86|\*(C`IO::Socket::INET\*(C'\fR class, so any normal IO operations can be performed. |the \f(CW\*(C`IO::Socket::INET\*(C'\fR class, so any normal IO operations can be performed. )