[ https://issues.apache.org/jira/browse/VFS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537229 ]
Mario Ivankovits commented on VFS-178: -------------------------------------- Sorry for being so busy lately with other things .... This patch is just for vfs.passive and just for ftp, but we need a more general solution for this by using the DelegatingFileSystemOptionsBuilder.setConfigString() method. Done right it will immediately allow to set any configuration exposed through the various FileSystemOptionBuilders ... and any future addition too - as long as it is possible to create the required value-type out of a simple string. > Indicate that passive FTP (and other options) should be used when writing to > a FTP location > ------------------------------------------------------------------------------------------- > > Key: VFS-178 > URL: https://issues.apache.org/jira/browse/VFS-178 > Project: Commons VFS > Issue Type: Improvement > Affects Versions: Nightly Builds > Reporter: Asankha C. Perera > Attachments: vfs-ftp.patch > > > I am trying to use VFS to connect to a FTP file, but the problem is that I > cannot specify that PASSIVE mode should be used. I think we could use the > format below to specify for example: ?passive=true etc. > ftp://myusername:[EMAIL PROTECTED]/pub/downloads/somefile.tgz?option=value > ---------------- Referece thread ---------------------------- > http://mail-archives.apache.org/mod_mbox/commons-dev/200709.mbox/[EMAIL > PROTECTED] > > I think the use of the ?? would not be a good URI scheme. However, maybe we > > > could simply make the VFS parameters unique. For example add vfs. in front > > > of them. > > > > > > For example, > > > http://www/path/cgi-bin/send.pl?FILE=ABC&TYPE=PDF&vfs.proxyHost=proxy.host&vfs.proxyPort=8080 > > > > Yes, for sure, this could make it too - I thought about it too. Even if > I am still not that happy with this query-string parsing/repacking stuff > I'd commit it if someone contributes a patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.