Gossamer Forum
Home : Products : Gossamer Links : Discussions :

max size for file upload

Quote Reply
max size for file upload
Ok this is asked before, but does anybody now how to set the max size to be uploaded for files????


Quote Reply
Re: max size for file upload In reply to
Hi,

Right now, the only way is to edit the Links.def file and add:

file_max_size => number_of_bytes

to the file column you added.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: max size for file upload In reply to
hello,

thank you Alex
I always update my database structure by editing the defs and SQL.pm, but I have added an file_max_size option in GT/SQL/Admin.pm

It works fine, and it will be added in the def file too, but the system ignores the file_max_size attribute.

if i set it to 50 (50 Bytes), I can upload a file with 30000 bytes without problems, how can i solve this????

Quote Reply
Re: max size for file upload In reply to
Hi

What you may find is that the file upload is failing silently and unfortunately, tricks Links SQL into thinking that the file was uploaded properly.

If you email me at aki@gossamer-threads.com, I can send you the updated library modules that can handle this properly.

Aki