Re: File Upload Size Limits

Ben Sinclair
Wed, 23 Mar 2005 16:53:42 -0000

Well, I figured it out. I forgot to add a validation to my model, so
when I uploaded new files I didn''t notice that I was uploading the
same filename again and again.

When pulling the file out, I was querying by the filename and getting
the very first bad file that was added when the field was a plain blob
instead of a large blob.

As they say in a certain book, "Select isn''t broken!"


On Wed, 23 Mar 2005 09:02:03 -0600, Ben Sinclair
<bensinc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I''m actually using longblobs now, just to try it, but it still
doesn''t
> work. I am doing a POST, and if I make it write the file out instead
> of insert it into the database, it is the right size.

--
Ben Sinclair
ben-bgLzOLc97kcYkl5+HhvCNA@public.gmane.org