commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] VFS
Date Sun, 02 Oct 2005 20:11:42 GMT
Hi!
> 
>2)       When I tested at my Window NT, if I gave the path
>"C:\tmp\testfile.txt", The root of the FIleObject is "C:\". I could not
>go up one level further. It also did not recognize my CD driver.
>  
Hmmm. Its not supported to go one level up - c:/ is already the root for 
VFS.
Sure, this might be discussable, but for now we do not have something 
like File.listRoots().

Whats the drive-letter of your CD drive?
VFS do nothing special here.

> 
>
> 
>
>3)       From archive I found the following code is very helpful:
>
>            FileSystemOptions opts2 = new FileSystemOptions();        
>FtpFileSystemConfigBuilder.getInstance().setUserDirIsRoot(opts, true);
>//SftpFileSystemConfigBuilder.getInstance().setUserDirIsRoot(opts,
>true);
>           Why is it not supported at SFTP
>  
Just no one requested it.
I will have a look at it.

---
Mario


---------------------------------------------------------------------
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