rejetto forum

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 - Pavel Rus

Pages: 1
1
HFS ~ HTTP File Server / 2.0 coming...
« on: April 18, 2004, 08:43:53 AM »
Hello!
If souce code for version 2 available,
please give me link.

2
HFS ~ HTTP File Server / "up" button is bug
« on: April 16, 2004, 12:39:50 PM »
For comlete this problem i add code
i add new key word %efolder%
in template it is
-------------------------------------------------------------------------------
[files]
<div class=label>%number-folders% folders,  %number-files% files - Total: %total-size%</div>
<table cellpadding=5>
<th><a href="%efolder%?sort=n"><span class=column>Filename</span></a>
<th><a href="%efolder%?sort=s"><span class=column>Filesize</span></a>
<th><a href="%efolder%?sort=t"><span class=column>Filetime</span></a>
<th class=column>Hits
%list%
</table>
-------------------------------------------------------------------------------
in programm

// build final page
if list='' then list:=tpl['nofiles']
else
  begin
  table2:=table;
//************** My modification ********************************
  {correct russian chars in url in header "File , Size, Date Time"}
  i:=0;
  while i < length(table2) do
  begin
    if table2='%folder%' then
    begin
      temp:=hslib.encodeURL(table2[i+1],True,True,False);
      addArray(table2, ['%efolder%',temp]);
      break;
    end;
    inc(i,2);
  end;
//************** End My modification *********************
  addArray(table2, ['%list%',list]);
  list:=x_template(tpl['files'], table2);
  end;

3
HFS ~ HTTP File Server / "up" button is bug
« on: April 16, 2004, 07:49:31 AM »
what is not compile?
I can help you.
I fix bugs in sources code.
If you have any questions please go to my icq 331025557
or my mail skeeper@nm.ru

4
HFS ~ HTTP File Server / "up" button is bug
« on: April 16, 2004, 06:01:42 AM »
This bug complete fix, if rejetto add in you sources code
this string:
// build up base table
table:=NIL;
addArray(table, [
  '%timestamp%', DateTimeToStr(now()),
  '%version%', VERSION,
  '%uptime%', uptimestr(),
  '%folder%', includeTrailingChar('/', decodeURL(folder.url())),
//************** My modification ********************************
{correct russian or other chars in url in header "Up"  \\hslib.encodeURL\\}
  '%parent-folder%', hslib.encodeURL(includeTrailingChar('/', decodeURL(folder.parenturl())),True,True,False)
//************** End My modification ********************************
]);

5
HFS ~ HTTP File Server / About sources
« on: April 13, 2004, 12:53:49 PM »
This link to sources code with plugin support and fix bug with AV,
but code from version 1.5g
http://skeeper.nm.ru/files/hsf_with_plugin.zip
in text my comments is
//************** My modification ***********************
....
....
....
//************** End My modification ********************

I try carry support plugins on version 1.6 rc26.

6
HFS ~ HTTP File Server / About sources
« on: April 13, 2004, 07:28:34 AM »
Now i add the plugins mehmechanism.
I don't write workin plugin because,
i don't have many free time.
I write comments in sources
where i change them, and after this
send you and publish on this forum.

My idea for plugin:
   Possible if folder contain file of DBF type or other.
   when user click on this file, file don't download,
   for file create html page and user see contents this
   file in browser.

Înce again, sorry for my bad english.

Can i add you ICQ UIN in my contact List?

7
HFS ~ HTTP File Server / About sources
« on: April 08, 2004, 07:59:33 AM »
Thank you rejetto for new sources.
But this sources contain errors too.
When i compile this sources and run program, i do:
"Menu" -> "Other options" -> "MIME Types" and at this
moment appear error "Access violation .............".
It's only my problem or it's problem of you sources?
Sorry me for my bad english.

Pages: 1