commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/VFS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068505#comment-14068505
] 

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.

Changes:

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


> [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)

Mime
View raw message