If you are using iis in windows server 2003, the default upload size is 200kb.
This can be changed in IIS and also edit the metabase.xml file.


Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: LunarDraco <[EMAIL PROTECTED]>

Date: Tue, 21 Oct 2008 08:29:15 
To: CakePHP<[email protected]>
Subject: Re: File Uploading problem



The file size for most http post is limited by the server and php to
something less than 2048. Which limits your capabilities of the size
of file you can upload.
In order to upload files larger than this limit you would need to
chunk the file and then reassemble the file on the server.

This usually requires some kind of client side java applet, that can
break the file into pieces and send the pieces as individual posts.
An example of this is http://www.jumploader.com/, there are many more
paid and free large file upload applets, and flash components.

I choose jumploader for my project because it runs on all three
platforms that I intend to support. And if I really don't like
something I have the option of buying the source.

Do some searching for large file upload applet you'll find what you
need to get past your current problem.


On Oct 20, 2:21 pm, Donkeybob <[EMAIL PROTECTED]> wrote:
> The file size is 7 mb
>
> my php.ini settings:
> max_execution_time = 30
> max_input_time = 60
> memory_limit = 32M
> post_max_size = 75M
> upload_max_filesize = 50M
>
> I post it to the database too. The area where it errors, is when it
> saves the data because $this->data does not have filename, mediatype
> and size included.
>
> On Oct 20, 3:35 pm, Julien Buratto <[EMAIL PROTECTED]> wrote:
>
> > Donkeybob wrote:
> > > I'm using this: $form->file('filename') in my file upload utilty. Some
> > > certain files will upload and save the data, but some files types
> > > don't. . . . . .ex. podcast.m4a.
>
> > > When i submit the form . . .this->data only posts:
> > > Array
> > > (
> > >     [Fileupload] => Array
> > >         (
> > >             [name] => Podcast name
> > >             [type] => Podcast
> > >             [filename] =>
> > >             [mediatype] =>
> > >             [size] => 0
> > >             [path] =>
> > >         )
>
> > > )
>
> > > Why would it not read the file details? I can upload other files . . .
>
> > > thanks
> > > Rich
>
> > Size? did you check the php.ini file ? are you writing to db ? if so,
> > which is the max query size you are allowed to execute ?
>
> > J


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to