commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Animate <animate...@yahoo.com>
Subject Re: [VFS] Root to user directory not /
Date Tue, 02 Aug 2005 20:18:05 GMT
Wow, how cool is that? I'll download and test
tomorrow.

Thanks for the quick response.

--- Mario Ivankovits <mario@ops.co.at> wrote:

> Animate wrote:
> >Is it possible in some distant release to add an
> >argument someplace to permit this? 
> >  
> The next nightly allows you to configure the
> ftp-filesystem to use the 
> user home as root:
> 
>         FileSystemOptions opts = new
> FileSystemOptions();
>        
>
FtpFileSystemConfigBuilder.getInstance().setUserDirIsRoot(opts,
> 
> true);
>         FileObject fo = 
>
VFS.getManager().resolveFile("ftp://vfsusr:pass@host/",
> opts);
> 
> Some additional testing is needet but it looks good.
> 
> ---
> Mario
> 



		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message