Set a max upload file size for FTP IIS7.5
-
Freitag, 30. November 2012 21:32
Server 2008 R2 with IIS and FTP roles installed.
I tried setting the Maximum Content legnth in the FTP Request Filtering Settings, but it did not allow me to restrict the uploading file size, only the downloading file size. Uploading is from an external source to the server.
Is there a way to limit the file size upload but not the file size download in IIS FTP role?
Thanks,
Todd
Alle Antworten
-
Sonntag, 2. Dezember 2012 19:29
Server 2008 R2 with IIS and FTP roles installed.
I tried setting the Maximum Content legnth in the FTP Request Filtering Settings, but it did not allow me to restrict the uploading file size, only the downloading file size. Uploading is from an external source to the server.
Is there a way to limit the file size upload but not the file size download in IIS FTP role?
Thanks,
Todd
A web application running in IIS7 on Windows Server 2008 will reject any upload that is larger than 30MB. This is the default size limit for IIS7. To increase the maximum file size, add the following code to <system.webServer> in the web.config file:
(This example sets the limit to 500MB)<security> <requestFiltering> <requestLimits maxAllowedContentLength=”500000000″ /> </requestFiltering> </security>
You must restart IIS for the setting to take effect.
-
Montag, 3. Dezember 2012 13:05
A web application running in IIS7 on Windows Server 2008 will reject any upload that is larger than 30MB. This is the default size limit for IIS7. To increase the maximum file size, add the following code to <system.webServer> in the web.config file:
(This example sets the limit to 500MB)
<security> <requestFiltering> <requestLimits maxAllowedContentLength=”500000000″ /> </requestFiltering> </security>
You must restart IIS for the setting to take effect.
That works for transferring files through a web application, but this is not the case for the FTP service. I just tested again to verify with a 50MB file.
I need a way to limit file sizes that are uploaded to the server through the FTP service.
Adjusting the FTP request filtering apparently only limits the download file size.
-
Dienstag, 4. Dezember 2012 09:21Moderator
Hi,
As it is an IIS setup related question, you could post thi IIS forum instead:
TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.
-
Dienstag, 4. Dezember 2012 12:51
Thanks,
I started a new thread here:
http://forums.iis.net/p/1193472/2036340.aspx/1?p=True&t=634902041936225213
- Als Antwort markiert Shaon ShanMicrosoft Contingent Staff, Moderator Freitag, 7. Dezember 2012 06:26

