rejetto forum

Minimizing exe file size when compiling

Guest · 3 · 2776

0 Members and 1 Guest are viewing this topic.

npelov

  • Guest
Hi!
I you made really good file server.
How did you reduse the file size to 400 kb (v1.6). If I compile HFS it's about 1 MB (hfs.exe)

Also I noticed little bug in 1.6: When user connects/disconnects too fast an exception is generated: "List out of bounds"
Can you catch this exception, so these messages to be avoided?
---------------------
Nickolay Pelov
email:npelov@mail.bg
email2: npelov@myrealbox.com


Offline 326

  • Occasional poster
  • *
    • Posts: 16
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
http://upx.sourceforge.net

to catch the exception i need to know where it is thrown
try using this version: www.rejetto.com/temp/hfs1.6.zip and report here the bug-log

this is a preview of 1.6a
i made these changes in sources
Code: [Select]
 from: s:=join(', ', split(CRLF,f.accessFor()));
    to: s:=join(', ', f.accounts);
  from: Content-x
    to: Content-X
  from: %parent-folder%
    to: encodeURL( %parent-folder% )  (e spostare fullencode sopra)
  from: %folder%
    to: %encoded-folder%
   fix: only 1 user per username