commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-522) The call to _storeFileStream method uses the wrong _openDataConnection_ method.
Date Mon, 27 Jan 2014 17:51:44 GMT

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

Mime
View raw message