rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: npelov on April 27, 2004, 03:06:19 PM

Title: Minimizing exe file size when compiling
Post by: npelov on April 27, 2004, 03:06:19 PM
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
Title: Minimizing exe file size when compiling
Post by: 326 on April 28, 2004, 01:08:10 AM
he is using UPX to compress the file
Title: Minimizing exe file size when compiling
Post by: rejetto on April 28, 2004, 03:44:14 PM
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