Uploading files of large size using WebAsyst Files may sometimes fail for the following reasons:
- The server does not allow uploading files of any size.
- Web server configuration applies limitations on the size of uploaded data. E.g., for web server Apache such a limitation is set by the LimitRequestBody directive; for nginx — by client_max_body_size.
- Limitations on the size of uploaded files may also be contained in the configuration of PHP. Below are listed the parameters used to apply limits for files being uploaded from web pages:
- post_max_size sets the number of megabytes that are allowed to be uploaded by a web form. If you need to upload several files at a time, the current value of this parameter should be higher that the aggregate size of all files being uploaded.
- upload_max_filesize sets the maximum allowed size of an uploaded file. For successful uploading of several files this parameter value should be higher that the size of the largest file.
- A built-in limitation in WebAsyst Files does not allow uploading files larger than 200 MB. To change that size limit, enter the desired maximum file size in kilobytes in the following line in file published/DD/2.0/templates/frm_upload.js:
file_size_limit : "204800",
Note: Users of the WebAsyst online services cannot change this limitation and can upload only 200 MB large or smaller files.