You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by GitBox <gi...@apache.org> on 2022/12/21 15:32:46 UTC
[GitHub] [hop] damienchambe opened a new issue, #2091: [Feature Request]: FTP passive mode for VFS
damienchambe opened a new issue, #2091:
URL: https://github.com/apache/hop/issues/2091
### What would you like to happen?
Currently it is not possible to configure passive mode when using apache VFS FTP provider
Kettle had a configuration variable vfs.ftp.PassiveMode
Can we have a similar way to configure passive mode ?
### Issue Priority
Priority: 3
### Issue Component
Component: Vfs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] damienchambe commented on issue #2091: [Feature Request]: FTP passive mode for VFS
Posted by GitBox <gi...@apache.org>.
damienchambe commented on issue #2091:
URL: https://github.com/apache/hop/issues/2091#issuecomment-1361503903
I've tried to manipulate the FTP vfs provider with something like :
org.apache.commons.vfs2.provider.ftp.FtpFileSystemConfigBuilder.getInstance().setPassiveMode(opts, true);
The only way I found is to call a pipeline with a user defined java task:
System.out.println("Met VFS / FTP en mode connexion passive");
org.apache.commons.vfs2.FileSystemOptions opts = new org.apache.commons.vfs2.FileSystemOptions();
org.apache.commons.vfs2.provider.ftp.FtpFileSystemConfigBuilder.getInstance().setPassiveMode(opts, true);
return parent.initImpl();
}
The code is called but it does not works.
Apache VFS says " Currently it is not allowed to override a already configured filesystem." Could it be the cause ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org