You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kimball Cole (JIRA)" <ji...@apache.org> on 2014/01/27 21:55:39 UTC

[jira] [Resolved] (NET-522) The call to _storeFileStream method uses the wrong _openDataConnection_ method.

     [ https://issues.apache.org/jira/browse/NET-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kimball Cole resolved NET-522.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Code has been fixed in either release 3.2. or 3.3

> The call to _storeFileStream method uses the wrong _openDataConnection_ method.
> -------------------------------------------------------------------------------
>
>                 Key: NET-522
>                 URL: https://issues.apache.org/jira/browse/NET-522
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Kimball Cole
>             Fix For: 3.3
>
>
> An SSL connection between the host and client has been established I try to get an OutputStream for a file the resulting socket (and OutputStream of that socket) is not secured. Further investigation shows that the FTPSClient calls \_storeFileStream which in turn calls the method \_openDataConnection\_(String command, String arg) within the FTPClient class. This method \_openDataConnection\_ does not return a SSL socket. the method should call \_openDataConnection\_(int command, String arg) within the FTPSClient so that the proper SSL Socket is returned.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)