commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-397) FTPSClient does not handle AUTH or ADAT and only partially handles PBSZ. FTPSCommand should be deprecated
Date Wed, 30 Mar 2011 03:16:09 GMT
FTPSClient does not handle AUTH or ADAT and only partially handles PBSZ. FTPSCommand should
be deprecated 
----------------------------------------------------------------------------------------------------------

                 Key: NET-397
                 URL: https://issues.apache.org/jira/browse/NET-397
             Project: Commons Net
          Issue Type: Bug
            Reporter: Sebb


FTPSClient does not provide any code to handle AUTH or ADAT, and does not provide support
for handling a reduced buffer size provided by the server.

FTPSCommand defines int values for AUTH and ADAT, but if the integer values are used by client
code, the value will be passed to FTPClient, which uses its own array of command strings,
and FTPSCommand.AUTH will translate to "USER" and ADAT => "PASS", similarly for PBSZ, PROT
and CCC.

These commands all need special handling, so should be dealt with by FTPSClient only.
FTPSClient can override the sendCommand(int) and sendCommand(int, String) methods in FTPClient
which will help prevent problems.
Since most of these commands need additional special handling, there should be execNAME()
methods for each.
FTPSCommand should be deprecated.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message