commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36392] - [VFS] Can't copy using tar:gz:http FileObject
Date Fri, 02 Sep 2005 17:35:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36392>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36392





------- Additional Comments From mario@ops.co.at  2005-09-02 19:35 -------
Oh boy, I must be really blind. Didnt find anything.
Is it true, you use a nightly build of VFS?

Could you please try the following code on your machine:

FileObject foIN =
VFS.getManager().resolveFile("tar:gz:http://people.apache.org/~imario/nested.tar.gz!/nested.tar!/anydir/test.tar");
System.err.println(foIN.getType());
System.err.println(foIN.exists());
System.err.println(foIN.getContent().getLastModifiedTime());
FileObject foOUT = VFS.getManager().resolveFile("/home/im/tmp/test-nested.tar");
foOUT.copyFrom(foIN, Selectors.SELECT_SELF);

Please adjust the output path ("/home/im....)
The nested.tar.gz file is really small.

If this works, please replace the tar:gz:http url with yours.

Thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message