commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Drozdowski (JIRA)" <>
Subject [jira] [Updated] (NET-465) FTPClient setSendBufferSize and setReceiveBufferSize on data socket
Date Wed, 27 Jun 2012 16:18:43 GMT


Bogdan Drozdowski updated NET-465:

    Attachment: ftp-bufsize.diff

The buffer size already was for the data connections, but it was set only on the buffered
input and output streams, not on the sockets. The attached file, ftp-bufsize.diff, fixes this.
Now if the buffer size is greater than zero, it is used both on the streams and the sockets.
If the buffer size is set to 0 or less, the defaults are used (nothing is set on the sockets
and the buffered streams use the default size).
> FTPClient setSendBufferSize and setReceiveBufferSize on data socket
> -------------------------------------------------------------------
>                 Key: NET-465
>                 URL:
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>         Environment: All
>            Reporter: Jim Kerwood
>         Attachments: ftp-bufsize.diff
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
> When sending large files the need to set the send and receive buffer sizes on the data
socket is much more important than the command socket.  Please either give 2 more setters
or make the setters set the data socket and leave the command socket alone.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message