You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gareth Daniel Smith (JIRA)" <ji...@apache.org> on 2014/07/22 12:21:38 UTC

[jira] [Closed] (VFS-532) [FTP] Allow configuring remoteVerificationEnabled on FTPClient instances

     [ https://issues.apache.org/jira/browse/VFS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gareth Daniel Smith closed VFS-532.
-----------------------------------

    Resolution: Fixed

That works great. Thanks Gary.

> [FTP] Allow configuring remoteVerificationEnabled on FTPClient instances
> ------------------------------------------------------------------------
>
>                 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
>            Assignee: Gary Gregory
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 2.1
>
>
> 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)