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 ... 124
1
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 http://rejetto.com/forum/index.php?topic=13094.msg1065170#msg1065170

2
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_gzip:' + intToStr (length (s)));

3
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.

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

5
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]
{.set|delay|{.calc|%now%-%item-modified-dt%.}.}
{.set|days|{.substring||.|{.^delay.}.}.}
{.set|delay|{.calc|({.^delay.}-{.^days.})*24.}.}
{.set|hours|{.substring||.|{.^delay.}.}.}
{.set|delay|{.calc|({.^delay.}-{.^hours.})*60.}.}
{.set|mins|{.substring||.|{.^delay.}.}.}
{.set|delay|{.calc|({.^delay.}-{.^mins.})*60.}.}
{.set|secs|{.substring||.|{.^delay.}.}.}
{.^days.}d  {.^hours.}h  {.^mins.}m  {.^secs.}s

6
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
http://rejetto.com/forum/index.php?topic=6710.msg1041312#msg1041312
  use the date of the file in digital format as given par %now%

7
HFS ~ HTTP File Server / Re: Donate your Time for translate
« on: November 29, 2019, 04:49:39 PM »
@silentpliz
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

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

8
Bug reports / Re: Find external address - many URLs are out of date
« on: November 29, 2019, 11:59:39 AM »
you can only use on custom personal server (HTTP://)

modify hfs.ini with this example

external-ip-server=http://en.utrace.de/|"text" value="

when external-ip-server is empty then rejetto list is used from line ip-services=


So that the user can place the ip.php script on his website

not available without recompiling the program

9
is the whole content of the vfs part of the exe tree? if this is the case, when hfs is executed from a usb key (removable media) then the used drive letter assigned to the key is automatically taken into account

can you tell me which version of hfs you use for these computers?

10
HFS ~ HTTP File Server / Re: Maybe... Websockets?!!
« on: October 23, 2019, 08:41:30 PM »
@1565

You can convert your websockets server as a proxy to translate request to hfs with some spécial section

11
answer to 2) part B
It doesnt work, when run on a machine that doesnt have an F: drive.
I may have found a solution that makes it possible to consider all subdirectories  of the exe directory as independent of the location of hfs.exe support

all directories of the vfs that are part of hfs.exe are saved in relative mode to allow portability

the resource starts with %EXEPATH% in the VFS but it remains invisible to user

it's almost the same as when hfs is run from a usb stick whose letter is not known

however, I take a feasibility reserve as long as a potential security breach by using /../ goes back beyond hfs.exe folder



12
HFS ~ HTTP File Server / Re: Firing an event on macro completion
« on: October 22, 2019, 11:05:44 PM »
you can probably include an msdos command file to perform all operations so they will be executed in the correct order


13
Beta / Re: version 2.4
« on: October 21, 2019, 09:41:42 PM »

14
HFS ~ HTTP File Server / Re: Macro support for symbolic folders
« on: October 10, 2019, 08:56:46 PM »
{.set|x|{.force ansi|%folder-resource%{.^x.}.}.}

15
HFS ~ HTTP File Server / Re: Macro support for symbolic folders
« on: October 09, 2019, 03:31:47 PM »
have a look on how work the {.exec.} macro with code return of external program in the wiki
http://rejetto.com/forum/index.php?topic=1939.0

Pages: [1] 2 3 ... 124