rejetto forum

Redux: .tar doesn't support files of size above 8gb

0 Members and 1 Guest are viewing this topic.

Offline newbie

  • Occasional poster
  • *
    • Posts: 39
    • View Profile
Re: http://rejetto.com/forum/index.php?topic=11682.0

I am seeing this issue as well in hfs2-2.4-rc07. Did the fix posted in the above forum post reviewed/actioned into a fix?

Currently, I can download a 8+GB file successfully....but I have a use case where I need to download a folder w/ lots of tiny files and 1 or 2 large files (that could be <20GB).

Thank you. I appreciate any help or pointers re: this matter.


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 170
  • Computer brained boy
    • View Profile
    • A Normal Webpage
Seems an external file compressor is necessary now :D

We can archive files with HFS macro with external command-line software such as 7-zip. This will be a workaround for the tar problem.

If this problem affects you deeply, let me do it now :)

Also, please have a try on my PHFS? The link is in my signature, it uses Python libs to archive to tar format and is more stable.
I'm wondering is there also a problem with PHFS. Testing is welcome!
Check out my template and PHFS ;)


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 170
  • Computer brained boy
    • View Profile
    • A Normal Webpage
Here is the script, add to diff tpl of root folder.

Code: [Select]
[7z|public]
{.set|real_folder|{.vfs to disk|%folder%.}.}
{.set|command_line|7za.exe a -bd -y -ttar -o"{.^real_folder.}" "{.^real_folder.}\archive.tar" "{.^real_folder.}".}
{.add to log|{.^command_line.}.}
{.exec|{.^command_line.}|out=x.}
{.^x.}
{.redirect|%folder%archive.tar.}

And don't forget to download the console version of 7-zip, and extract "7za.exe" to the folder that contains hfs.exe.

After that, visit "http://localhost:8080/folder/?mode=section&id=7z".

The drawback is, it creates a new archive, maybe not what you want because it costs space.

Just remembered PHFS also creates a new archive in system %temp%.

So, HFS have advanced technique that stream an archive on-the-fly. The best solution is still wait rejetto to fix the 8GB issue in original HFS. :)
Check out my template and PHFS ;)