Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-731

FTPSClient no longer supports fileTransferMode (eg DEFLATE)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • FTP
    • None

    Description

      The new openDataSecureConnection method in FTPSClient does not support fileTransferMode (eg DEFLATE).

      https://github.com/apache/commons-net/pull/90/files#diff-b4292a5bd3e39f502d24bce1eb934384a951a120080c870cdc68c0585a78c6e9[] 

       

      The FTPSClient code used to delegate to FTPClient

      _openDataConnection_
      

      method.

      https://github.com/apache/commons-net/blob/b5038eff135dff54e2ee2d09b94ec7d8937cb09b/src/main/java/org/apache/commons/net/ftp/FTPClient.java#L696

      This method supports `wrapOnDeflate` while openDataSecureConnection does not.

      I'm not sure if FTPS supports DEFLATE transfer mode but while implementing an Apache Pekko workaround for the NET-718, I spotted the diff.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fanningpj PJ Fanning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: