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

[jira] [Updated] (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 ]

Sebb updated NET-522:
---------------------

    Description: 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.  (was: 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.)

> 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
>
> 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)