commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] [Commented] (VFS-532) [FTP] Allow configuring remoteVerificationEnabled on FTPClient instances
Date Mon, 21 Jul 2014 13:30:39 GMT


Gary Gregory commented on VFS-532:

Feature added but _not_ using the patch refereed to in the link.

Please verify the change by checking out trunk and building the jar locally and close this
issue if satisfied.


commit -m "[VFS-532] [FTP] Allow configuring remoteVerificationEnabled on FTPClient instances."
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/ftp/
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/ftp/
    Sending        C:/vcs/svn/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1612264.

> [FTP] Allow configuring remoteVerificationEnabled on FTPClient instances
> ------------------------------------------------------------------------
>                 Key: VFS-532
>                 URL:
>             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 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:

This message was sent by Atlassian JIRA

View raw message