commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [commons vfs] Extracting tar fails
Date Wed, 24 May 2006 11:20:56 GMT
hrjk wrote on Wednesday, May 24, 2006 11:57 AM:

>> Hi!
>>>> Try this way:
>>>> 
>>>> tar:file://C:\src.tar!
>>>> 
>>> That was the third one I had tried:
>>> 
>> No, it was not. I also need some time to figure it out ;-)
>> 
>>> org.apache.commons.vfs.FileSystemException: Badly formed URI
>>> "tar:file//C:\src.tar!". 
>>> 
>> see - there is the ":" missing after "file" - its "file://"
>> 
> 
> Right. Sorry guys. I'd better buy new pair of glasses.
> 
> Nevertheless, exactly same error occurs with "tar:file://C:\src.tar!".

You have to escape backslashes!

- Jörg

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