commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Commented: (VFS-178) Indicate that passive FTP (and other options) should be used when writing to a FTP location
Date Wed, 24 Oct 2007 07:51:50 GMT


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:
>             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:mypassword@somehost/pub/downloads/somefile.tgz?option=value 
> ---------------- Referece thread ----------------------------
> > 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/
> > >   
> 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.

View raw message