How i can change the behavior of attached documents?



When user attaches some document using the attached widged, the behavior is as the follows:

(1) Convert the type of file to binary, and save it to database
(2) Also save the name of file

The problem is that we get an error if the attached file exceeds to the limit size. I don't know how i can to increase the limit .

For this reason, i don't want to save the binary file into database, instead of this behavior, i want to move the temporary file (like: pdf,image,doc...etc)to another directory.

I hope any help.

thanks a lot.

No answers yet.