RMFT, B-Hub, bhub, desktop client, dest top client, 413
Applies to:
  • RMFT 2.1 and above
Click here for additional assistance

When using RMFT Desktop Client to send files in "IIS Secure" mode or when using RMFT Web Client to send files in Java secure mode, an HTTP 413 (Request Entity too Large) error is generated.

When using RMFT Desktop Client in "IIS Secure" mode or when using RMFT Web Client in Java secure mode, the maximum default request size that can be received by the IIS is 48K. For optimal performance, RMFT Desktop Client/RMFT Web Client sends much larger requests by default. Consequently, any user who tries to send a package in "IIS Secure" mode (RMFT Desktop Client) or Java secure mode (RMFT Web Client) will encounter the following error:

HTTP 413 (Request Entity too Large)

You can resolve this issue by increasing the request size for the RMFT virtual directory.

NOTE: When a valid certificate is installed on IIS, selecting the "Require secure channel" option (Manage / Preferences / Web Site), forces RMFT Web Client, RMFT CLI, RMFT Java CLI and RMFT Desktop Client users to connect securely. RMFT Desktop Client users will be forced to connect using "IIS Secure" mode (unless their Desktop Client profile is configured to use the "RMFT" or "RMFT Secure" connection modes).

To increase the default IIS request size on Windows 2003 (IIS6):

  1. Open a command prompt and change the working directory to:

    <drive>\inetpub\adminscripts

  2. Issue the following command:

    cscript adsutil.vbs set W3SVC/1/ROOT/rmft_virtual_dir/UploadReadAheadSize request size in bytes

Example:

>cscript adsutil.vbs set W3SVC/1/ROOT/repliweb-mft/UploadReadAheadSize 100000000




To increase the default IIS request size on Windows 2008 (IIS7):

  1. Open a command prompt and change the working directory to:

    <drive>\Windows\System32\inetsrv

  2. Issue the following command:

    appcmd.exe set config "http://localhost/<rmft_virtual_dir>" -section:system.webServer/serverRuntime /uploadReadAheadSize:"request size in bytes" /commit:apphost

Example:

>appcmd.exe set config "http://localhost/repliweb-mft" -section:system.webServer/serverRuntime /uploadReadAheadSize:"100000000" /commit:apphost