rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Anthony on February 06, 2009, 07:49:07 AM

Title: max file size
Post by: Anthony on February 06, 2009, 07:49:07 AM
Plz Work on it to suport php! I need it bad so i can make a upload script with max file size

Or is there a way to set the max size or files uploaded?

If so plz email me at pokedome@gmail.com if you have any ideas on how to set max file size!
Title: Re: max file size
Post by: rejetto on February 07, 2009, 06:24:24 PM
Plz Work on it to suport php! I need it bad so i can make a upload script with max file size

php support for just that would be overkill.
put this in your event scripts file.
the "1000" stands for 1 Megabyte.

Code: [Select]
[upload completed]
{.if| {. %item-size-kb% > 1000 .} | {:
{.delete|%item-resource%.}
:}.}

untested!
Title: Re: max file size
Post by: Anthony on February 07, 2009, 07:05:11 PM
OK but I use the main version so I guess I got to go get a beta version!
Title: Re: max file size
Post by: rejetto on February 07, 2009, 07:50:27 PM
i assumed it because you initially posted in the beta forum ;)