Uploading files larger the 10mb with Media Picker Options
olly_kyn
Posted: Thursday, July 03, 2008 3:27:06 PM
Rank: Newbie

Joined: 7/2/2008
Posts: 4
Location: UK
Hello,
I would like to be able to upload large pdf files onto my site, but there seems to be a limit of 10mb for the file size.
Does anyone know a way round this (will it be possible with umbraco 4??).
I am currently hard coding the links into the html, but this is not very neat.

Any advice would be appreciated.
Olly
drobar
Posted: Thursday, July 03, 2008 3:50:03 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,689
Location: KY, USA
Hi, Olly,

The problem isn't with umbraco, but .net.

The 4MB default is set in machine.config, but you can override it in you web.config. For instance, to expand the upload limit to 20MB, you'd do this in your web.config file:

<system.web>
<httpRuntime executionTimeout="240" maxRequestLength="20480" />
</system.web>

Depending on the speed of your connection and the size of your largest upload, you'd set these parameters accordingly.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.