commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gareth Daniel Smith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VFS-532) Allow configuring remoteVerificationEnabled on FTPClients
Date Mon, 21 Jul 2014 09:59:39 GMT
Gareth Daniel Smith created VFS-532:
---------------------------------------

             Summary: Allow configuring remoteVerificationEnabled on FTPClients
                 Key: VFS-532
                 URL: https://issues.apache.org/jira/browse/VFS-532
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Gareth Daniel Smith
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message