documenttype vs mediatype Options
kyongwon
Posted: Friday, September 29, 2006 1:32:24 AM
Rank: Newbie

Joined: 9/26/2006
Posts: 8
hey guys..

when do people use new mediatypes? i noticed blog records are, rightfully, a new documenttype.. but i also noticed that the image galley demo i saw niels wrote/demoed and he uses a new documenttype as well? then i think i read a post by him that said that he almost always uses document types..

now.. when do people use media types?

also if i have LARGE files ( realm of 40-80MB ), i can't upload it http ( iis restrictions i'm guessing ).. so i probably need to use ftp.. any suggestions for that? and if it's uploaded OUTSIDE of umbraco.. how would i create matching nodes? is there a directory notification module that will update the /media nodes?

lastly.. when can i clear out the /media section on the file system? some of it is not used.. but it wasn't deleted.. since it's not in the database, i'm assuming, i can't just wack it whenever i want.. is there a process for that? ( i think i asked this in relation to webfarms.. )

thank you!
drobar
Posted: Friday, September 29, 2006 2:02:03 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,408
Location: KY, USA
I can't answer many of your questions definitively, but upload size is regulated by the web.config file; add the following...

Code:

<system.web>
  <!-- set maximum size for uploads. especially useful for zip upload via the dashboard in the media section -->
  <httpRuntime maxRequestLength="51200"/>
  .
  .
</system.web>


Also, for those large uploads, check on the forum for 'ZipUpload' which is a great tool.

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.