Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - LeoNeeson

Pages: [1] 2 3 ... 39
Everything else / Something about me...
« on: October 05, 2019, 09:06:33 PM »
Hi everyone! :) I was afraid to login and find thousands of unread topics and emails (but I had to do it one day or another). I've received personal messages from some of you, and I really thank you for thinking on me, and worrying about my life (I truly appreciate it).

About my physical (medical) life "I'm fine", but with "very high financial problems" (and it's going worst every day). In the last 6 to 9 months my economic life changed almost 180 degrees, and that left me with very little free time (too much work, too much stress and way less money than before). Anyway, don't worry, there is nothing you can do to help me, and I'll try to somehow overcome this situation.

My enthusiasm about HFS (and helping people on the forum) is intact, but sadly, for the time being is impossible for me (given my lack of spare time) to actively participate on the forum. @SilentPliz: I will continue working on what I promised to do, but without a 'delivery' date.

I hope you are all well, and I encourage all of you to keep going.


So, what other features would you like to see (without attempting to replicate/replace ftp, vnc or plex)?
If you are looking for fresh new ideas (for you Throwback10-Photo template), here is one: having an option named "Gallery mode (show photos only)", to have a view like THIS or THIS (those images are obviously to give you an idea). This setting could be a checkbox (storing the settings on a cookie) or adding to the URL /?gallery=on and /?gallery=off (or using any other method).

Activating this mode, files that are NOT photos are hidden, filenames are also hidden (to save space), and only a photo gallery is shown. When a folder has no images, a message like "No images are found on this folder" could be displayed (perhaps with an option to disable the gallery mode). And when gallery mode is off, the template could work like the normal/classic Throwback10 template.

So, adding this, we could merge those two versions and have a new unified Throwback11. I know this could be complex to add/implement, but it's just an idea (and if it's too hard to do, just ignore it). ;)

Beta / Re: version 2.4
« on: June 04, 2019, 05:25:37 AM »
Where to download the latest language file?  :-\
The latest English language file (hfs.lng) is HERE (this was posted by Rejetto here). You can translate this file using IniTranslator which you can get it from HERE (thanks SilentPliz for the info!), or use a portable version of that program, that you can download it from HERE.

Hi! :)

It's easy: first switch to 'Expert mode', then go to 'Menu' -> 'Virtual File System' -> and check 'List protected items only for allowed users'. And that's it!...

Beta / Re: version 2.4
« on: May 26, 2019, 01:48:24 AM »
I am wondering when you will release the final version 2.4?
I also have the same question... just wondering: perhaps he wants to add some new feature?... ??? at least it would be nice to have RC3. ;)

@Rejetto: Before you release the final or the release candidate (RC3) version, please don't forget to check THIS post (with some needed changes).

1.   Can we have a check box beside the file names so we can download selected items?
It's already implemented on v2.4, you have to click on the 'Selection' button, and the checkboxes will appear.

2.   The server I'm trying to download from contains a "check mark" character in all the filenames (somefile √.mkv) alt-251 ...... the files are listed and appear to be downloadable, but when you attempt to download them it says there are no files to download?
I can confirm this. I'm attaching an example file to demonstrate this (just uncompress/unrar the file on some shared folder). When you try to download the file, you will get a "Not found" message (like if the file doesn't exists).

HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: May 26, 2019, 01:42:25 AM »
Just to say that .lng files can also be conveniently translated with IniTranslator.
Looks nice, thanks for the info!! :)
I haven't tested it yet, but I've found a portable version:

HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: May 20, 2019, 03:12:53 AM »
@wenxin667: Hi! welcome to the forum... :)

Like SilentPliz said, translation to your language is easy (if you know English or French language). You only need to have some spare time and patience. Just read his instructions found here, or follow these steps:

1) Download Poedit from and install it.
2) Open the file located on "locale\zh\LC_MESSAGES\default.po"
3) Start translating all the strings from French to Chinese.
4) Attach the translated file on the forum, and voilá!  8)

If you don't understand (or have minimal) French knowledge, you could translate directly from English to Chinese, by copying the "default.po" located on "locale\en\LC_MESSAGES\" to "locale\zh\LC_MESSAGES\" and then editing the Poedit headers, changing "Language: en_GB\n" to "Language: zh\n". You have to do this 'header' edition using a text editor (and not using Poedit). Once you have edited the 'header', you can use Poedit normally.

If you find this process very complex, you can use the file attached on this post, HERE, and extract the file "default.po" to: "locale\zh\LC_MESSAGES\" (but only use it as a reference, since SilentPliz is continuously updating his files). This is how I translate from English to Spanish (I don't use the pre-translated Spanish file at all, since it has many errors, and I prefer to translate every string directly from English).

I also want to translate into Chinese. :)
The latest version (2.3m) allows to translate in part HFS with a file named hfs.lng
LeoNeeson may be able to tell you more about the creation / use of this file.

If you don't need the TLS/SSL support, you can (since version 2.3m) translate the original HFS into any language, by simply editing a text file named hfs.lng. You could start translating HFS into Chinese language, by downloading first THIS English file, and translating every word after the "=" symbol. To do it, you need to use a Unicode text editor, like Notepad++.

For example:

English (Original):
; Kryvich's Delphi Localizer Language File.
; Generated by K.D.L. Scanner, 02/11/2017 23:53:13


Caption=Customized options

pages.permTab.actionTabs.newaccBtn.Caption=New account
pages.permTab.actionTabs.anyAccChk.Caption=Any account

Chinese (Translated):
; Kryvich's Delphi Localizer Language File.
; Generated by K.D.L. Scanner, 02/11/2017 23:53:13




You will also need to have a good knowledge of English to do the translation. When you have completed the translation of the hfs.lng file, then upload it in the forum. And feel free to ask any question if you have any doubts on how to translate this.


HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: May 12, 2019, 09:58:05 AM »
Hi everyone, it's weekend!!... :D

@SilentPliz: Spanish translation status: I'm sorry that it has taken me so long to write something. On the last month almost had no time to dedicate on this (even to read emails and forum posts), and all because having too much work on my daily life. I can't promise when I will finish the translation (perhaps at the end of this month or some time on June), but I will continue doing the Spanish translation whenever possible (as much as my free time permits). :)

Updated 07-05-2019

I appreciate your work. I always be using and applying to my translation the latest 'default.pot' that you publish (thanks) :)


HTML & templates / Re: Responsive small screen template
« on: April 10, 2019, 11:40:00 AM »
I tried it with chromium 30 and I found, when you in windows explorer copy hfs.diff.tpl in your root, it don't work (it doesn't load hfs.diff.tpl),
but when you in hfs copy the code from hfs.diff.tpl to properties-diff template it works :)
I don't know why.
Yes, it's true. I'm glad you also found this error. I've already reported that "hfs.diff.tpl" doesn't work on root HERE, but I didn't get any reply about it. The normal behavior is that "hfs.diff.tpl" should work on root too. I hope Rejetto get attention to this.

HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: April 10, 2019, 11:30:23 AM »
Updated 9-04-2019
About Warning message (message box) ... OK  ... Done !
"Très bien!" :D I've tested and everything is looking great.

(By the way, :-[ I feel sorry for having very little time these week to spend on translating, but so far everything is going well (it's going more slow that I would want to). I hope someone else join on the Italian translation too)


HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: April 08, 2019, 06:22:45 AM »
Tested and everything is OK now! :)

» Question: Is normal the the 'stable' version (not the 'trad' version), also makes a 'locale' folder by default? (because if the user wants to edit the language, he can use the yellow button to extract the translation files). I see no point on extracting the files by default on that version, since that's the function of the 'yellow button'. If the 'locale' folder is found, then the program would use it, but if not, then it could use the 'internal' embedded files. What do you opine?...

» Small idea: On the 'stable' version, the 'yellow button' could show a 'yes/no' warning message (similar to the SSL button), and if the user answer 'yes', then all the translation files are extracted. It could be a message like: "Do you want to enable the 'translator mode'?. If you answer yes, then you could translate the locale files using 'Poedit' (which you can download from If you already had a 'locale' folder, clicking on 'yes' will overwrite those files. Do you really want to extract the files?...". It's much nicer that way, and more informative. :)

» Another very, very small detail found > Steps to reproduce it:
Set language to English, then press the yellow button. This extracts the locale files (that's OK), but then all the program sets the text to French (but still showing 'English' on the language selection menu), and that's wrong. But if the user restarts the program, the English selection is remembered (that's OK), and everything is back to normal again. I don't know if there is a solution for this or not. Anyway, is not important.

(Do not feel obligated to release a new build for every detail you fix, you can leave those fixes for another future revision)

With "captions" of this size, you will be able to put all the HFS user manual on one line.  :P
Yes, I know... ;D (but all that free space can now be used, and not to worry about not having space to translate) 8)

HTML & templates / Re: Responsive small screen template
« on: April 08, 2019, 06:20:15 AM »
I forgot to say, you must additional add the hfs.diff_oldbrowser.tpl (or add the script at the end).
At least on Chrome 30, the problem continues (it doesn't work those 3 buttons). It's very strange (I'm doing all correct: I'm using 'hfs.diff.tpl' from "", overwriting the files of '').

You can download HERE a portable version of Chrome 30 to make some tests (here you will find more portable versions to make tests). Using Chrome 30, you will see in the console some errors (for example: "Uncaught ReferenceError: del is not defined").

The polyfill doesn't work with IE11 (because  needs Promise is polyfilled of course!)
I didn't know IE11 not had Promises. Perhaps that's why on Chrome 30 fails those 3 buttons: 'archive', 'delete' and 'upload' (since Chrome 30 doesn't support promises).

I've found HERE a extremely lightweight 'Promise Polyfill' that works with IE8+, Chrome, Firefox, IOS 4+, Safari 5+ and Opera. This polyfill makes promises work on browsers that natively doesn't support it...

I've tried modifiying your 'mobil-light_V4.5.tpl' and adding the folowing (marked in red color):
<script src=""></script>
<script src=""></script>


...and now it works on Chrome 30 :) (untested on IE11), but the 'archive', 'delete' and 'upload' buttons continues failing. There must be something else to modify (to make it work with Chrome 30).

Perhaps if you embed the content of those 2 polyfills in your code (and do some small tweaks), you can make only one version that works on any browser.

HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: April 07, 2019, 10:54:35 AM »
Thanks! Now the SSL tab is OK on low-resolution screens. :)

» Small details/issues:

A) I've noticed (on the 'stable' version, not the 'trad' version), that the languages menu have the 'Anglais/English' option with the 'Spanish' flag icon. And if you start switching/changing the languages (several times), the flags goes crazy (it looks like there is an error there). The 'trad' version doesn't have this issue.

B) The size of captions, in most of the options found in 'Accueil' > 'Propietes' > 'Attributs' are short (this limits the space of the translated text). For example: Caption = 'Parcours permis' (found in the file: filepropDlg.dfm) has a very small Width = 96. Most of those CheckBoxes have a width of 249, but they can have twice that size (a width of 500 would leave more than sufficient space for most languages). This also happens on Rejetto's build (rejetto: take note of this, if you read this).

Anyway, you can leave those fixes for another revision (there is no need to release another build just for that, since this those are very small details, not important). I'll report if I find anything else... ;)


HTML & templates / Re: Responsive small screen template
« on: April 07, 2019, 10:42:45 AM »
Now it works beautifully on old browsers! 8) (with some details)

Design/Layout .... Okay.
Search function .. OK, it works.
Login function ... OK, works fine.
Archive button ... No, it does nothing.
Delete button .... No, it doesn't delete.
Upload button .... No, nothing gets uploaded.

» Summarizing: the 'archive', 'delete' and 'upload' button doesn't work on the 'oldbrowsers.tpl' version (I already know that file selection is done clicking on the time-stamp, but even selecting a file or folder those buttons doesn't work). Otherwise than that, great work!... :)

» Researching: I noticed you used 'XMLHttpRequest GET' instead of 'fetch' to add support to legacy/old browsers. This is great, but doing this you have to release a special version for old browsers every time. My main idea/suggestion was using a 'polyfill', and after doing a search, I've found THIS:

Code: [Select]
<script src=""></script>
I've added that line on your normal 'mobil-light_V4.4.tpl' (you can directly embed THIS file content on your template), and the page loads fine now on old browsers. Using this polyfill the buttons loads okay, but the files and folders are not shown. Perhaps doing some small tweaks, that polyfill can work with your original 'fetch' code (and that way you get the best of both worlds: you can continue using 'fetch', and when 'fetch' is not supported by the browser, that XHR polyfill does the rest).

On my search on internet, I've also found two interesting articles: Why I still use XHR instead of the Fetch API (and how to use a Promise-based XHR). A very nice read, even for 2019 (this blog also has very nice articles!).

HTML & templates / Re: Experiments
« on: April 07, 2019, 10:34:15 AM »
Here are 2 new user-interface experiments. 
I claim that they are non-working.  Tiles and Stripes are developmental status. 
I've tested your experimental templates. Tiles.tpl looks great as an image gallery, but on normal file listing, Stripes.tpl look better.

Pages: [1] 2 3 ... 39