[ https://issues.apache.org/jira/browse/VFS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Curtis Boyden updated VFS-322: ------------------------------ Attachment: PDI-3157.patch I have attached a patch that modifies the TarInputStream to iterate in Integer.MAX_SIZE blocks over the void skip(int) method if the size of a file is greater then Integer.MAX_SIZE. There is also a unit test attached that generates a 3MB tar.gz that contains a 3GB .tar containing a 3GB .txt file and verifies that the contents are correct. I hope this is useful and I would like to see this feature make it into the official VFS code line. (Pelase feel free to change the impl if you can improve it) -Curtis > Tar files to contain files over 2GB in size > ------------------------------------------- > > Key: VFS-322 > URL: https://issues.apache.org/jira/browse/VFS-322 > Project: Commons VFS > Issue Type: Improvement > Affects Versions: 1.0 > Reporter: Curtis Boyden > Priority: Minor > Attachments: PDI-3157.patch > > > It would be nice to be able to work with tar files that contain files over > 2GB in size. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.