rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on September 04, 2009, 04:07:47 PM

Title: Testing build #245
Post by: rejetto on September 04, 2009, 04:07:47 PM
download @ www.dovedove.it/hfs/hfs245.exe

what's new
+ new template macros: exists, is file [link] (http://www.rejetto.com/forum/?topic=7437)
+ URI support in {.mkdir.} [link] (http://www.rejetto.com/forum/index.php?topic=7453.msg1046000#msg1046000)
- {.add folder.} broken in build #244
Title: Re: Testing build #245
Post by: FRENCH CAN CAN on September 04, 2009, 08:29:05 PM
what's new
- {.add folder.} broken in build #244

Mooolto bene, complimenti! adesso funziona veramente, SOSTITUISCE la cartella realmente, ho usato queste macro:

[special:import]
{.add folder|real|.|.}
{.set item|/Modello|hide=1.|no log=1.|not as download=*.}

Vorrei sapere se rimane in questo modo, vorrei pubblicare sul forum il mio nuovo Template. Ciao, French. ;)

----------------------------------------------------------------------------------------------------

Veeery good, congratulations! Now it really works, replace the folder really, I used these macros:


[special:import]
{.add folder|real|.|.}
{.set item|/Modello|hide=1.|no log=1.|not as download=*.}

Ti wonder if it remains this way, I would like publish on forum my new Template. Hello, French. ;)

(Translated with Google.)
Title: Re: Testing build #245
Post by: Mars on September 04, 2009, 11:41:28 PM
error or not error

Quote
function Tfile.getDLcountRecursive():integer;
......
  while assigned(n) do
    begin

    f:=nodeToFile(n);
    if f = NIL then
      if f.isFolder() then inc(result, f.getDLcountRecursive())
      else inc(result, f.FDLcount);
    n:=n.getNextSibling();
    end;

if f is NIL , why testing f.isfolder, he cannot??? NIL.isFolder is impossible, can you explain rejetto? ???
Title: Re: Testing build #245
Post by: rejetto on September 05, 2009, 10:03:16 AM
i wonder if it remains this way, I would like publish on forum my new Template. Hello, French. ;)

yes, i don't see reasons to change ;)
Title: Re: Testing build #245
Post by: rejetto on September 05, 2009, 10:04:02 AM
if f is NIL , why testing f.isfolder, he cannot??? NIL.isFolder is impossible, can you explain rejetto? ???

it's a special technique.
haha, thank you mars, your eyes are often useful.
fixed in next release.