Re: [vfs] Re: Specifying options to FTP etc..

2007-09-06 Thread Mario Ivankovits
Hi! > 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

Re: [vfs] Re: Specifying options to FTP etc..

2007-09-04 Thread pizak
> This limitation makes it look a little bit hacky - we might remove this > limitation later. > > > What do you think? > > Ciao, > Mario > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mai

Re: [vfs] Re: Specifying options to FTP etc..

2007-08-30 Thread Mario Ivankovits
Hi! > I think we should leave it upto the scheme to decide. So http may > decide to pass it to the server, while ftp may decide to use it to > talk to the server. i.e. each implementation will know the options > they understand, enforce them and pass any remainder to the server. > How does that s

Re: [vfs] Re: Specifying options to FTP etc..

2007-08-30 Thread Asankha C. Perera
Hi Mario I don't quite agree with this - this may be the common case for HTTP, but the URI spec does not enforce it. Ok, but how should we differentiate between these both use-cases? I think we should leave it upto the scheme to decide. So http may decide to pass it to the server, whil

[vfs] Re: Specifying options to FTP etc..

2007-08-30 Thread Mario Ivankovits
Hi! > I don't quite agree with this - this may be the common case for HTTP, > but the URI spec does not enforce it. Ok, but how should we differentiate between these both use-cases? If we would like to allow this style of URL we need some special delimiter to know what to pass to VFS as configura

Re: Specifying options to FTP etc..

2007-08-29 Thread Sergey Vladimirov
Good day, Mario. +1 vote from me. This is very common case, when deleveloper allows user to specify URI only. More over, this setting is file-specific (or, more precisely, site specific), so it's not always correct to set them up using ConfigurationBuilder. Another example is to add "classloader

Re: Specifying options to FTP etc..

2007-08-29 Thread Asankha C. Perera
Hi Mario It is possible through the *FileSystemConfigurationBuilder stuff only. Unfortunately this does not work for me, as I can only specify a VFS URI. So VFS needs to figure out and make it happen in my case ftp://myusername:[EMAIL PROTECTED]/pub/downloads/somefile.tgz?option=value Hav

Re: Specifying options to FTP etc..

2007-08-29 Thread Mario Ivankovits
Hi! > 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. It is possible through the *FileSystemConfigurationBuilder stuff only. > ftp://myusername:[EMAIL PROTECTED]/pub/downloads/somefile.tgz?option=value > > > Have I misse

Specifying options to FTP etc..

2007-08-29 Thread Asankha C. Perera
Hi all 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 Have