Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Attachments are being uploaded to the server in packages to allow for attachments of any size to be uploaded with a reasonable user experience.

The packaging within uploads can be controlled with the settings:

"MaxFileUploadPackageSize" which sets the maximum size of each packet that a file is split into. In the example below the max size is 2 MB. If you upload a file that is bigger than the package size, the file is split into as many packages of the MaxFileUploadPackageSize as possible, and at last a smaller package with the remainder of the file.

"MaxFileUploadPackages" which sets the maximum number of packages the file will be sent in. In the example below the value is 4. 

With the configuration below, a 5 MB file would be sent in two packages of 2 MB each and one package of 1 MB

...

If you for some reason don't want the system to break an upload file into packages, just set MaxFileUploadPackages to 1 and MaxFileUploadPackageSize to the maximem maximum file size you want to be able to handle. We don't recommend limiting MaxFileUploadPackages and/or using a large MaxFileUploadPackageSize as it may impact user experience during heavy uploads and possibly make the system more fragile to network issues.

...