rejetto forum

Recent Posts

1
Programmers corner / Re: Configure HFS Virtual File System by code
« Last post by rejetto on February 01, 2024, 11:20:27 PM »
hey, sorry for the late answer.
You could experiment with the [server start] event, where you can put your script
https://rejetto.com/wiki/index.php?title=HFS:_Event_scripts

The vfs format is not very complex but neither very easy. THere's no documentation, you should study the sources.
With HFS 3 i decided for simple text format (yaml).
2
Programmers corner / Re: Configure HFS Virtual File System by code
« Last post by vespina on January 17, 2024, 06:01:45 PM »
Thanks for your answer.  Scripting could be the way to go if there were a way to run a script from command line, which is not supported AFAK.  I think I would have to look for another solution. Its a shame, because this software is awesome.
3
Programmers corner / Re: Configure HFS Virtual File System by code
« Last post by LeoNeeson on January 17, 2024, 04:25:05 PM »
You could do it by scripting (THIS thread could give you some light). Keep in mind that Rejetto stopped developing HFS v2.x (he is busy developing his new HFS v3). The most easy solution, is using an already modified HFS version. The only active fork of HFS is maintained by Rapid, which already changed the VFS to ZIP format (with JSON and images, as separate files). I haven't tested it, but you can download it from HERE.

In case you know about programming (Delphi language), another option is modifying the source code and recompiling the binaries (the executable). If I were to modify the sources, I would analyze the possibility of saving the VFS encoded in Base64 (but that's only useful if, before, we convert data blobs from binary to ASCII format), otherwise it makes no sense in just saving the VFS using Base64 encoding. I have no time to think about the changes needed, but if you do it, you could leave the modifications here (to make this useful to anyone).

Hope it helps.
Leo.-
4
Programmers corner / Configure HFS Virtual File System by code
« Last post by vespina on January 16, 2024, 06:41:14 PM »
I am thinking on including HFS with my software to allow users to download some app-related content without messing with IIS.  My normal installation contains an "Intranet" folder with an index.html and a Files folder inside of it.  The idea is to somehow configure HFS (via INI file) so when user starts HFS it automaticallly load the VFS according to the install location.

I tried replacing paths in a saved VFS files but it seems the file contains some CRC checksum to avoid anyone to mess with it.

Is there any way that I can manually create a VFS file with the correct paths ?

TIA
5
HFS ~ HTTP File Server / Re: HFS including SSl tools
« Last post by Mars on January 15, 2024, 09:13:31 PM »
Unless you are on 32-bit Windows, you can replace stunnel included in hfs with the latest 64 bits version available for loading there

https://www.stunnel.org/downloads.html
6
HFS ~ HTTP File Server / Re: HFS including SSl tools
« Last post by i5c0r3 on January 15, 2024, 10:55:10 AM »
For those who still prefers this flavor, any idea how to update the stunnel?
7
HFS3 uses yaml, like json but more human friendly
8
YAY! :D
9
router & port problems / Great! Automatic UPNP Port Forwarding in HFS 3! Thank You!
« Last post by TekWiz on January 04, 2024, 10:04:00 PM »
I was pleasantly surprised and pleased to discover that you have implemented automatic UPNP port forwarding in HFS 3! As someone who has spent countless hours in the past assisting people with forwarding router ports in order to host Ares chatrooms at home, I can appreciate how much easier this will make it for users to enjoy using HFS!

Thank you so much!  :)
10
F.A.Q.s / Re: Fav Icon
« Last post by rejetto on December 18, 2023, 09:29:25 AM »
what HFS version are you using?