rejetto forum

No archive since 2.3f

0 Members and 1 Guest are viewing this topic.

Offline fafouine232

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Hello,

I just upgraded to HFS 2.3f and I can't get any archive download.

The page Says "Not Found" and puts a link to "Go to root".

It happens for single folder, multi-folder, single file and multi-file archive.

I tried it from different IP (at work and on my phone), on multiple platforms (Windows and Android) and from different folders in different hard drives.

So I deleted all my settings and reinstalled from zero with the same 2.3f and I get the same error.

Then I did the same thing again but this time, I installed 2.3e (build 293) and tada! It works! I can archive once again. Thank god!

I'm having a serious problem with the archive mode on the new 2.3f version. Anybody having the same issue?

I guess I'm going to stay with 2.3e for now.

Thanks
faf :)


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
not familiar with archiving, I assume you are on the default template

And you are clicking a link in the webpage to "zip and tar the files to download them all?

Rejeto would be of more help here, as you can confirm it working in an older release and not a newer one...

Sorry :( good luck
Files I have snagged and share can be found on my google drive:

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


Offline fafouine232

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Thanks for replying!

Yes, I'm on default template.

Also, just to be clear, when I say archiving, I mean ticking (checking) one or many items and then clicking the "Archive" button in order to get a .tar archive.

This doesn't work for me on 2.3f but it works just fine on 2.3e... Weird!

See ya
faf :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline click-click

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
I have 2.3g installed, but archive seems to be broken because when I check a single folder, I get an archive with that folder + 1 extra + 2 non-existent folders . Also, not all filetypes are being saved.
« Last Edit: December 05, 2015, 02:51:10 AM by click-click »


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
@click-click: those files/folders looks like to being generated by your operating system (Windows 8.1). What kind of folder are you sharing?...
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
i think it has something to do with the file name, HFS has a hard item supporting files that are outside a certain character range. I have found that if the folder name is with in "a-z" or "1-0"  (only letters and numbers!) then it should work, i believe the "$" is causing issue for it, as HFS is unable to determine the folder / file...

it also looks like your tryin to share a temp directory!

http://superuser.com/questions/490910/whatdoes-the-sign-mean-when-part-of-a-file-or-folder-name
http://stackoverflow.com/questions/448371/why-are-these-folders-share-names-appended-with-dollar-signs
http://superuser.com/questions/64471/create-rename-a-file-folder-that-begins-with-a-dot-in-windows
Files I have snagged and share can be found on my google drive:

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


Offline click-click

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
@click-click: those files/folders looks like to being generated by your operating system (Windows 8.1). What kind of folder are you sharing?...
No. All folders created on the z: drive are mine. I am sharing the whole z: drive with my other PCs. It looks like archive is broken as is. As I mentioned before, 2 of the folders shown in the archive don''t even exist  on the drive.


Offline click-click

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
i think it has something to do with the file name, HFS has a hard item supporting files that are outside a certain character range. I have found that if the folder name is with in "a-z" or "1-0"  (only letters and numbers!) then it should work, i believe the "$" is causing issue for it, as HFS is unable to determine the folder / file...

it also looks like your tryin to share a temp directory!

http://superuser.com/questions/490910/whatdoes-the-sign-mean-when-part-of-a-file-or-folder-name
http://stackoverflow.com/questions/448371/why-are-these-folders-share-names-appended-with-dollar-signs
http://superuser.com/questions/64471/create-rename-a-file-folder-that-begins-with-a-dot-in-windows

I use $ and other special characters in folder names to influence the way my folders are sorted. I renamed the folders without any special chars and I still get garbage included in the archive. Whatever  method HFS uses to create the tar file, it isn't working for me with folders. If I select individual files, that seems to work without problems, but I have only done limited testing on that.
« Last Edit: December 06, 2015, 10:24:42 AM by click-click »


Offline click-click

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
Here's another problem with Archive. I have five files listed  from which I select three. Only two end up in the archive.
Code: [Select]
DelayedShutdown.lnk                                 545  3/07/2014 19:24
DelayedShutdown.pmc                                  94  3/07/2014 19:32
_W81OOBE.lnk                                        659  2/05/2014 19:04
_W8SetScaling.cmd                                   435  9/15/2015  1:13
_W8SetScaling.lnk                                  1081  3/16/2014 15:25

When I select all three .lnk files above, _W8SetScaling.lnk does not get included in the .tar
« Last Edit: December 07, 2015, 09:52:18 PM by click-click »


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
i recall a forum topic regard file and archiving before.. *.Lnk / *.Shorcut files aren't included as it isn't actually a file...(there links...)

I can only asume then that it isn't the default template, after trying this myslef
(or there has been and edit form the default template)

http://www.rejetto.com/wiki/index.php?title=HFS:_Folder_Archives

there may be soem html  macro code floating aorund to fix this already as well:
http://www.rejetto.com/forum/hfs-~-http-file-server/cannot-open-tar-archives-with-some-software-linuxmaemo/msg1043721/#msg1043721
http://www.rejetto.com/wiki/index.php?title=HFS:_URL_parameters

in the default template this is the code the make the button and to run the archiving
--------------
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>
--------------
 
If your on the default template then i don't know what to tell you, give a list of file extensions that may be impacted... or look to the HFS .exe for a 7 zip that is run on click and download the contents, or zip them your self and host them with in the folder...

or maybe try a RARW template, i usual use live template, there are many on rarw for hfs:
http://rawr.thatstevensguy.com/projects/6/3.0.1/Live-3.0.1.zip

doe it work for you in live template?
« Last Edit: December 06, 2015, 05:14:05 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 click-click

  • Occasional poster
  • *
    • Posts: 14
    • View Profile
I have no idea what template I'm on. All I see is the hfs.exe and a hfs.vfs that I created via the GUI. I've just
started using this program. I don't know how to implement different templates.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
I have no idea what template I'm on. All I see is the hfs.exe and a hfs.vfs that I created via the GUI. I've just
started using this program. I don't know how to implement different templates.
@click-click: What are you using: "Real folder" or "Virtual folder" in HFS? Try starting all over, and using "Real folder"...



I don't want to go out of the issue, but this make me wonder: how about implementing the ZIP format to HFS?...

ZIP is a well known format, supported by default starting from Windows XP, and as fast as TAR format, since the ZIP format offers to store files without compression. ZIP format will overcome the "8 GB file limitation" that TAR format has (ZIP supports up to 16 exabytes).

@Rejetto: It would be great to have ZIP support in HSF, at least for those who want to use it (as an option in HFS's menu). What do you think? Is it easy to natively implement it?... :)

> EDIT: In case someone else want to dig about this, I've found Abbrevia, but looks too much for simply making ZIP files. There are lots of more Delphi components listed here and here.
« Last Edit: December 08, 2015, 06:50:15 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i tried to reproduce the problem but to no avail.
i created a folder with name $_OEM$ and selected it for archiving: all was well.
can you send me a tar file with the problem?
anyway i tried opening the archive with both 7-zip and total commander.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
I don't want to go out of the issue, but this make me wonder: how about implementing the ZIP format to HFS?...

it was already discussed on the forum. Of course i would like to have zip format, but it's not that easy. HFS requires archives to be "streams" and "seekable", and that's not easy to make or find.