These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Individual File Size

Hi Cem,

We are trying to use this control and one of the major issue is size of individual file, is there a way we can limit that to a preset with out a limit on Quota of rootFolder, 

thanks,
dhaivat
dhaivat 1/28/2009 3:57 PM
Hi Dhaivat,
You can limit the individual upload size by adding the following settings in your web.config:

    <configSections>
        <sectionGroup name="system.web">
            <section name="GleamTech.Web.FileTransfer" type="GleamTech.Web.FileTransfer.FileTransferSection, GleamTech.Web.FileTransfer" />
        </sectionGroup>
    </configSections>

    <GleamTech.Web.FileTransfer maxUploadSize="200"  />

You can set the file size in KB for maxUploadSize value.
Cem Alacayir 3/10/2009 5:37 AM
This is my question too.
but web.fonfig is global setting, how can I make a different "maxUploadSize" for each aspx under a same website?

Thanks
James Chang 6/1/2010 7:22 PM
hi,

I found the way, thanks.
James Chang 6/1/2010 7:39 PM
James Chang
How did you achieve this?
Thanks
Rob
Rob Atkinson 3/13/2012 12:34 PM