Author Topic: No archive since 2.3f  (Read 7191 times)

0 Members and 1 Guest are viewing this topic.

Offline fafouine232

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
No archive since 2.3f
« on: September 21, 2015, 08:26:13 PM »
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: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: No archive since 2.3f
« Reply #1 on: September 21, 2015, 09:58:47 PM »
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
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline fafouine232

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Re: No archive since 2.3f
« Reply #2 on: September 21, 2015, 11:34:59 PM »
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: 12953
    • View Profile
Re: No archive since 2.3f
« Reply #3 on: October 17, 2015, 09:46:05 AM »
fixed in 2.3g

Offline click-click

  • Occasional poster
  • *
  • Posts: 14
    • View Profile
Re: No archive since 2.3f
« Reply #4 on: December 05, 2015, 02:33:40 AM »
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: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: No archive since 2.3f
« Reply #5 on: December 05, 2015, 07:39:55 AM »
@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)
• I'm open to help and share any file you may need (just ask me) ;)

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: No archive since 2.3f
« Reply #6 on: December 05, 2015, 07:04:09 PM »
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'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline click-click

  • Occasional poster
  • *
  • Posts: 14
    • View Profile
Re: No archive since 2.3f
« Reply #7 on: December 06, 2015, 10:01:22 AM »
@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
Re: No archive since 2.3f
« Reply #8 on: December 06, 2015, 10:13:55 AM »
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
Re: No archive since 2.3f
« Reply #9 on: December 06, 2015, 10:36:50 AM »
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: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: No archive since 2.3f
« Reply #10 on: December 06, 2015, 04:57:25 PM »
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 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline click-click

  • Occasional poster
  • *
  • Posts: 14
    • View Profile
Re: No archive since 2.3f
« Reply #11 on: December 07, 2015, 10:27:18 PM »
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: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: No archive since 2.3f
« Reply #12 on: December 08, 2015, 06:11:40 AM »
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)
• I'm open to help and share any file you may need (just ask me) ;)

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: No archive since 2.3f
« Reply #13 on: December 26, 2015, 11:26:34 PM »
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: 12953
    • View Profile
Re: No archive since 2.3f
« Reply #14 on: December 26, 2015, 11:36:40 PM »
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.

Follow members gave a thank to your post: