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] Double slash in ftp url
Date Mon, 23 Jan 2006 06:54:52 GMT
Hi Jeffrey!
> VFS seems to be aggressively removing any leading slashes in these
> cases and I can't seem to see a clear way to get this to work.  Is
> there a way to configure the extra slash to remain in the url so
>
> //sys$common/lib is used for the path in our ftp url's?
Yes, it behaves like Javas java.io.File
System.err.println(new File("//path/to/device"));
will result in
/path/to/device

Unhappily I see no way to archive this without hacking the VFS core.
But now that I know that this requirement exists I'll think about it.

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