rejetto forum

tar headers corrupt

0 Members and 1 Guest are viewing this topic.

Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
at this point, i would recommend having a zip backup (sure it takes up space, but you can guarantee a  1 time download and a better ziped file.....

i have done test on win 7 / win 10, and can cornfirm this error on his site, i will try my own pc to double check....

if i were on linux, i would attempt to repair the tar: (but if you plan to go public, then this option wouldn't be fesiable.....
http://riaschissl.bestsolution.at/2015/03/repair-corrupt-tar-archives-the-better-way/

other wise, we may need to update or fix the archive code in the HFS template for your situation:
this is the default template code from 2.3 f....

Code: [Select]
{.if|{.get|can archive.}|
<button id='archiveBtn' onclick='if (confirm("{.!confirm.}")) submit({}, "{.get|url|mode=archive|recursive.}")'>{.!Archive.}</button>
.}
<a href="{.get|url|tpl=list|sort=|{.if not|{.length|{.?search.}.}|{:folders-filter=\|recursive:}.}.}">{.!Get list.}</a>
</center>


and when i have free time, i will look nto scriptiong 7zip into it...
http://www.rejetto.com/forum/bug-reports/no-archive-since-2-3f/msg1060967/#msg1060967
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
looking further into it, 7zip can be used to take in a http url and be done via comand line, building it into an archive button of a folder is a bit tricky-er and a bit complex for my time....


7zip cmd:
http://www.dotnetperls.com/7-zip-examples

cmd> 7z.exe (archive type switch) http:/path to folder/file archive.filetype

BUT, i did find this nifity javascript code that could ealiy be implement into HFS for zip support:
https://stuk.github.io/jszip/

https://stuk.github.io/jszip/documentation/examples.html

but that is rejeto department....

it also looks like - getting back on topic to his issue and post that a fesh download and archive of a tar is working...
« Last Edit: April 23, 2016, 07:56:25 PM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
i'm sorry, i confirm 7zip only extracts 3 folders instead of 5. I just didn't pay enough attention, and verification of latest version reports an error.

Total Commander instead has no problem in handling it.
I've found that it happens with file paths longer than 100.

It took me hours, but now it should be able to produce TAR files that are good for 7zip as well.
You will get it in the next version, 2.3h, soon to be released
« Last Edit: April 24, 2016, 10:35:54 PM by rejetto »



Offline bitingsock

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
Sorry about no response for a while.
2.3h fixes the problem. Thanks for all the work guys!