Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Laurence Gillian 600 posts 1219 karma points
    Oct 25, 2011 @ 18:59
    Laurence Gillian
    0

    File Uploads in DAMP / Umbraco

    Hello,

    My question is relating to how large files are uploaded in DAMP / Umbraco.

    My understanding is that when a large file is uploading, the web server allocates the memory needed for this file. This means for example that with a standard upload control if the user uploads a file which is 2Gb is size, and the server only has 2Gb of memory, this memory is allocated and changes what was once a nice little speedy web server is to a super slow snail of a machine running from the page file.

    Does DAMP use the standard upload control, or does it use a 'chunked' method.]

    In a general Umbraco sense is this something that has been thought about with V5, are other people worried about it? Maybe it could make sense to use a web service to upload files?

    Just a few thoughts,

    DAMP rocks. Laurie!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 25, 2011 @ 19:24
    Jeroen Breuer
    0

    Hi Laurie,

    DAMP uses the same upload control as the upload field on a media item. Found out the create option of the default media picker in Umbraco also used this so it was a good example I could use :).

    It doesn't use a 'chunked' method and if you would replace the normal upload datatype on a Media Type it also wouldn't work anymore in DAMP (it searches for the guid of the upload render control).

    I don't know how this currently works in v5, but I think for the Alpha versions the upload control works the same as v4. Perhaps you can start a topic in the v5 forum or create a workitem on codeplex for it.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft