Previous Next

Thread: WebDAV file size problems

Last post 07-31-2008 11:41 AM by fr_grenier. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-31-2008, 11:22 AM

    WebDAV file size problems

    Hi,

    I am having problems transferring large files with WebDAV in IIS7.  The latest release is installed, but I had the same problem with the RTM one.

    I tried what is in this post: http://forums.iis.net/t/1150370.aspx, but this setting only seems to control the WebDAV UPLOAD limit (i.e. if I try to save a file larger than the limit, it fails), but not the DOWNLOAD limit.  I am able to download files up to 50,000,000 bytes without problems using WebDAV.  Larger than that, it fails.   

    Interrestingly, HTTP downloads work fine for any file sizes.

    Here is the Web.config file for this site (maxAllowedContentLenght is very low for testing purpose):

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <directoryBrowse enabled="true" />
            <defaultDocument enabled="false" />
            <urlCompression doStaticCompression="false" />
            <staticContent>
                <mimeMap fileExtension=".ISO" mimeType="application/octet-stream" />
            </staticContent>
            <security>
                <requestFiltering>
                    <requestLimits maxAllowedContentLength="20000" />
                </requestFiltering>
            </security>
        </system.webServer>
    </configuration>

     Thanks for your help.

    -François

     

  • 07-31-2008, 11:41 AM In reply to

    Re: WebDAV file size problems

     Hi,

     Never mind, I just found the information:

    http://learn.iis.net/page.aspx/386/using-the-webdav-redirector/

    Modify "FileSizeLimitInBytes" in the registry...

    Thanks anyway!

     -Francois 

Page 1 of 1 (2 items)
Page view counter