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: [commons vfs] Extracting tar fails
Date Wed, 24 May 2006 12:34:11 GMT
Hi!
> The used prefix here is "tar:gz://". Does this need again another library?
>   
No, the dependencies are listed here:
http://jakarta.apache.org/commons/vfs/download.html

Just in case you didnt found it. Here
http://jakarta.apache.org/commons/vfs/filesystems.html you will find
some examples.

e.g. for tar.gz files its
|tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt

|tar.gz requires two layers, thus you'll find two "!/" in the url.
e.g. tgz is a shortcut to the same:
|tgz:file://anyhost/dir/mytar.tgz!/somepath/somefile|
(Need to name the file mytar.tgz, it might still be mytar.tar.gz)

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