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 ... 125
HFS ~ HTTP File Server / Re: timed events question
« on: February 20, 2020, 02:14:07 PM »
when the event start,  hfs can create a txt file  with some word, and then launch the external task

while the task is running, hfs is waiting to run the next event, 

at the begining of the event, hfs read the txt and if the content is not empty it will run a break macro to stop the script event, 

at the end of task,  batch script must delete the txt file to inform hfs that the job has finish..

next time event is running  the txt will be created and hfs launch new task

HFS ~ HTTP File Server / Re: Return StdOutput to browser?
« on: February 14, 2020, 08:13:08 PM »
in this situation, the only information that is returned by an exe is a program exit code used mainly as an error code. this code can be interpreted differently depending on the needs of the program

follow this link

HFS ~ HTTP File Server / Re: Update and Self Test not working
« on: February 08, 2020, 11:30:18 PM »
Hi boss

there is a simpler solution to modify the configuration especially when it is saved in the registry

Menu >> debug >> runscript ...

this create a temporary file that you just have to fill with the new values to modify

{.set ini|external-ip-server=.}
{.set ini | ip-services-time = .}
{.set ini | ip-services =.}

as a reminder, if in the script dialog box, the "auto run" box is checked, it follows the execution of the script each time the temporary file is saved

then just perform an external ip address search to retrieve new server addresses

Bug reports / Re: Find external address - many URLs are out of date
« on: January 30, 2020, 02:41:40 PM »
So that the user can place the ip.php script on his website

not available without recompiling the program

Code: [Select]
  if IPservices = NIL then
  if IPservices = NIL then exit;

by that I meant that the services that no longer work are included in the exe to be available in any new configuration, some of these services no longer respond in http but in https, to avoid the error message it is necessary to remove links from sources, a plus would be that the webmaster can create a similar list without having to modify the configuration, currently only the configuration towards a dynamic dns is available.

Beta / Re: version 2.4
« on: January 29, 2020, 11:44:57 PM »
another reported  bug needed to be fixed at

Beta / Re: version 2.4
« on: January 29, 2020, 11:21:23 PM »
ok, thanks. Sorry for the late reply :)

it's supposed to work on root too, and i remember using it in the past.
Try entering this:
Code: [Select]

i guess it means the  root as an real folder with an hfs.diff.tpl in it
what is placed in the diff template in real or virtual mode works

Beta / Re: version 2.4
« on: January 29, 2020, 09:37:36 PM »

HFS ~ HTTP File Server / Re: Question regarding cookies
« on: January 16, 2020, 08:11:08 PM »
in terms of what you want to do with the header, you should try to use the 'request completed' event.

by extension of idea, it is not possible to use an event to suppress the duplication of the duplicate Content-Length header in compressed responses
have look at this post

Pусский / Re: Русская версия hfs 2.3m
« on: January 13, 2020, 08:45:40 PM »
то, что отличается от версии 2.3k и вызывает ошибку на 2.3m, - это строка, добавленная в источники, но кажется бесполезной, потому что информация избыточна,

Я могу предоставить только модификацию для выполнения в исходниках, но не компиляцию hfs

можно обойти проблему, отключив опцию в Меню >> Другие параметры >> Сжатый просмотр
 in english version  : Menu >> Other Options >> Compressed browsing

строка кода для удаления находится в main.not в процедуре
Tmainfrm.compressReply (cd: TconnData),
  и соответствует линии
cd.conn.addHeader ('Content-Length:' + intToStr (length (s)));

Beta / Re: version 2.4
« on: December 20, 2019, 02:04:47 PM »
Without wanting to appear defeatist, hfs has not evolved directly to https without having to use SSL, another evolution of the web is moving towards ipV6, this will probably be the limit of use for hfs.

HFS ~ HTTP File Server / Re: Title Bar
« on: December 14, 2019, 01:52:13 AM »
 in the template:

replace  <title>{.!HFS.} %folder%</title>  by <title>ThxGamingWC</title>

HFS ~ HTTP File Server / Re: HFS Scripting cmd: time and filetime
« on: December 03, 2019, 11:49:53 PM »
I do not remember which one but one of them will fit before

{.calc|(%now% - %item-modified-dt%).}

provides the difference of dates in number of days

after fumbling here is the final result

Code: [Select]
{.^days.}d  {.^hours.}h  {.^mins.}m  {.^secs.}s

HFS ~ HTTP File Server / Re: HFS Scripting cmd: time and filetime
« on: December 03, 2019, 11:29:49 PM »
quick answer:
a track to determine the time elapsed between two instants
  use the date of the file in digital format as given par %now%

HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: November 29, 2019, 04:49:39 PM »
dans la traduction chinoise, il doit manquer quelques &  au sein des  menus afin d'activer les lettres de raccourci correspondant devant fonctionner avec la touche ALT

if you can not understand my message, I will put the English equivalent

Pages: [1] 2 3 ... 125