Cannot upload big files through file manager or Backup Manager (Upload Files to Server Repository)

Article ID: 6134
Last Review: Dec, 1 2011
Views:

APPLIES TO:

  • Plesk 10.x for Windows
  • Plesk 9.x for Windows
  • Plesk 8.x for Windows

Symptoms

Plesk is running on Windows 2008. When you try to upload a file with big size Plesk panel shows the error

HTTP Error 404.13 – Not Found

The request filtering module is configured to deny a request that exceeds the request content length.

Cause

This problem occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file. This is a security feature. Do not change this feature unless the scope of the change is fully understood. You can configure the IIS 7.0 server to reject requests whose content length is greater than a specified value. If the request’s content length is greater than the configured length, this error is returned.
By default, the value of the maxAllowedContentLength property is 30000000.

Resolution

If the content length requires an increase, modify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting for Plesk Control Panel. You can do it using the command

%windir%\system32\inetsrv\appcmd set config “PleskControlPanel/” -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600

This command sets maxAllowedContentLength 100Mb. You can set any other values for maxAllowedContentLength.

Please note, that anywhere, the maximum file size which can be uploaded through IIS is 2GB (maxAllowedContentLength = 2147483647). maxAllowedContentLength is already set to this value in Parallels Plesk Panel 10.4.4 (in case of clean installation).
Please use another way to uppload a file to the server if its size is more than 2GB (for example FTP).
If it is backup file you can use the following command to upplod local file into Panel backup repository:
"%plesk_bin%\pmm-ras.exe" --import-file-as-dump --dump-file-specification="C:\backup.file"

Leave a Reply