Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-532

[FTP] Allow configuring remoteVerificationEnabled on FTPClient instances

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:

      Description

      VFS provides no easy/robust way to have setRemoteVerificationEnabled(..) called on the org.apache.commons.net.ftp.FTPClient instances that it creates.

      This is a problem for me because I need to call setRemoteVerificationEnabled(false) for my application to work correctly.

      In order to call this method I had to extend FtpFileProvider and FtpFileSystem, and I had to completely copy and paste FtpClientWrapper to create my own variant that calls setRemoteVerificationEnabled(..) on its wrapped FTPClient.

      This situation could be improved by augmenting FtpFileSystemConfigBuilder to add a remote verification option. I found an old patch to do this: http://apache-commons.680414.n4.nabble.com/VFS-PATCH-Allow-configuration-of-FTP-remote-verification-td716436.html

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              garethdanielsmith Gareth Daniel Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: