commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
Date Sat, 12 Nov 2011 01:14:51 GMT


Sebb resolved NET-425.

    Resolution: Fixed


I modified the patch slightly; got rid of the private methods (only used once) and rearranged
the methods to simplify the difference between versions.
> _openDataConnection_, __storeFile, and __storeFileStream should be protected and take
String for FTP command.
> -------------------------------------------------------------------------------------------------------------
>                 Key: NET-425
>                 URL:
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 3.0.1
>         Environment: All
>            Reporter: Steven Jardine
>             Fix For: 3.1
>         Attachments: patch.txt, retrievefile.patch
> Currently __storeFile, __storeStream, and _openConnection_ are declared as private and
only receive int commands.  I am trying to extend the FTPClient class to implement specialized
commands that utilize these methods.  In order for this to work I need to have these methods
declared as protected as well as adjust the parameters to allow for String commands.

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