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 - Mars

Pages: 1 [2] 3 4 ... 123
HFS ~ HTTP File Server / Re: Real folder not updating contents?
« on: January 02, 2019, 09:34:34 AM »
Clear your browser cache  every time

HFS ~ HTTP File Server / Re: SSL without Stunnel
« on: December 29, 2018, 09:52:39 PM »
for those who want to use SSL without spending time trying to do the configuration, here is the latest version that made Silentpliz integrating SSL management.   (the link remains valid approximately thirty days)

you have to install SLL then launch this HFS from directory dedicated to your hfs. when everything is set, just leave this version and then launch the last official on the forum

HFS ~ HTTP File Server / Re: ban on the run
« on: December 10, 2018, 09:02:39 AM »
if it is necessary to send the addition of a ban ip remotely, it must be sended a form to an hfs script that will support the addition of the value using the macro {.set ini | .} but it is delicate from a safe point of view

you must retrieve the set using {.get ini | ban-list.}
but the data in return are in the form| allowed| # NO!|

including pipes and making the management pretty tricky because of the macros.

it is probably necessary to use these macros, but I do not know the exact effects in the handling of text strings

     'no pipe'        replace '|'  by '{:|:}'
     'no pipe'        replace '{:|:}'  by '|'

the fields must be separated and then reassembled to be fed back into the configuration, which will have to be saved automatically at the output or at regular intervals or in force by means of a macro.
everything that includes remote hfs configuration management is a risk for hacking, especially when the exchanges are not done in SSL

it must be remembered that mishandling or erroneous data may create a ban rendering hfs unreachable

I do not know if there is an equivalent in English but as we say in France, "the game is not worth the candle"

HFS ~ HTTP File Server / Re: ban on the run
« on: December 09, 2018, 01:36:07 AM »
 Start HFS
In Menu/Limits/Bans…, enter the ip you will to be banned  example “” without the quotation marks and yoy can check “Disconnect with no reply”

Apply + OK --> that's all!  ;)

Beta / Re: version 2.4
« on: November 19, 2018, 05:03:27 PM »
I do not know which version it was, but we can work around the problem more simply to perform compatibility tests (as could have suggest rejetto)

add a JQUERY folder to the vfs by configuring it as HIDE

put the two files jquery.min.js jquery2.min.js inside

change the reference in every template
<script type="text/javascript" src="/?mode=jquery"></script>

<script type="text/javascript" src="/jquery/jquery.min.js"></script>    -->  hfs23.tpl
<script type="text/javascript" src="/jquery/jquery2.min.js"></script>  -->  hfs24.tpl

so it is not necessary to make a change in the exe

if that's not enough, come back to me  ;)

Programmers corner / Re: Friendly petition to Mars and or to any programmer
« on: November 15, 2018, 03:27:27 PM »
I will check your file, but as I've read here, you had problems trying to compile HFS. That's why I've I asked Mars for help, because he had compiled HFS successfully.

Perhaps rejetto knows the motive of the sudden silence of Mars (I'm surprised of his attitude and also worried, since Mars logins two or three times every single day, but remains without giving a response).


I put myself in your place and understand your impatience,
 in my beginnings on hfs there were no shared sources, then came the time when rejetto finally agreed to share, so it was a long time that I had a simple text editor like companion to try to understand the functioning of HFS according to the phylosophy of Rejetto and this is only a tiny part.
 By dint of imagining virtually the improvements and novelties that could be made, and an incalculable number of compilations asked the big manitou, the time had come for me to evolve in semi freedom, at the time there was no version portable turbo delphi, I was an old only initiated to the turbo-pascal of my years FAC, it opened in month a new mode.

Proposing improvements was not so simple, it had to be simple and useful without it fundamentally change HFS, It was necessary above all to convince the grand chief of the need and what some changes could render as services to future users,

Other names such as Silentpliz, TSG, Giant Eagle and Bacter (for the main ones), as well as others have greatly contributed to the changes. The old team has been drastically reduced in recent years for various reasons, be they professional, sanitary, or exhausting interest in the subject. All or part has been stored in a drawer or in an archive. it is not easy to dust off so many years of work, you have to sort out what can be useful and put aside what was futile.

The current version of Delphi in its portable version is not 100% "conform" to the one that rejetto and I used to compile the final version of HFS, and I often have big bugs when I run hfs. hence my prudence to provide as is what I use, I must first redo a very clean installation and add only the bare necessities. The time is far away when I spent hours in the process of dissecting the procedures and functions, my priorities and my availability have changed, hfs is a distant project that has its rules that it is imperative to respect, the introduction of javascript in its current wording has been a "brake" for me and I sometimes just relaunch the subject to provide old solutions that fit the news. Over the years I had to learn to think like rejetto, and not let myself go to imagine additions not essential, the version of Silentpliz reflects some of these eccentricities.
it takes time to find the various elements of improvement, to analyze them, and to retain only the essential ones by verifying that this can be included in the current sources without causing instability in the program. Rejetto no longer has the availability to track requests, everything is now idling.

HFS ~ HTTP File Server / Re: hide directorys for users with less rights
« on: November 12, 2018, 03:11:27 PM »
Menu -> Virtual file system -> List protected items only for allowed users  :D

will only show items for which the user has access rights

good news, the macro works as indicated by rejetto, I checked the wording in the exe, it's good base64decode
Code: [Select]
{.set|encoded| {.base64|this object will store some %symbols% in the javascript space, so that libs can read them.}.}
{.base64decode| VGhpcyBpcyBhIHNhbXBsZSB0ZXh0.}
{.base64decode|dGhpcyBvYmplY3Qgd2lsbCBzdG9yZSBzb21lICVzeW1ib2xzJSBpbiB0aGUgamF2YXNjcmlwdCBzcGFjZSwgc28gdGhhdCBsaWJzIGNhbiByZWFkIHRoZW0= .}

concerning your MP, I took note but it's a big recovery work and my upload is not that high,
  we will have to wait, wait and wait  ;D

And with {.base64 decode| blablabla.} ??

Beta / Re: version 2.4
« on: November 04, 2018, 07:38:34 PM »
 may be wrong but it must be about the compatibility of old default template with the new version of jquery

HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 11:09:47 PM »
it is already very late and I have to get up early, we will continue much later if it does not hurry you  ;)

HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:57:39 PM »
it's enough for me to check that minor improvements work for hfs, but I know that basically I can not guarantee an executable free of defects, it's just to propose to rejetto the result of modifications
the only times I share the exe is to show the result we can have to use

HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:34:33 PM »
I do not bother to compare or install packages, I just have PAS files accessible in Delphi and functional.

HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:09:37 PM »
If you lack the resources to complete your installation, I will be able to provide them but in a few days, the time to get your hands on the archives

HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 09:47:49 PM »
do you have what it takes on your machine to compile hfs sources and create your executable?

Pages: 1 [2] 3 4 ... 123