commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimball Cole (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-522) The call to _storeFileStream method uses the wrong _openDataConnection_ method.
Date Mon, 27 Jan 2014 16:10:39 GMT
Kimball Cole created NET-522:
--------------------------------

             Summary: 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