What file upload protocol is used by Liferay?

Issue

We need information about the file upload protocol that is used by Liferay in the file upload functionality from the users' browsers.

This information is necessary to fix some network issues in the firewall and other related elements.

Environment

  • Any Liferay version

Resolution

In order to upload files from users' browsers, Liferay uses the Apache Commons FileUpload library (external link)

The Apache Commons FileUpload library uploads files using the HTTP protocol, following the RFC 1867, "Form-based File Upload in HTML" (external link), that is, HTTP POST requests with "multipart/form-data".

For example, this library is used at the following Liferay code of the file upload functionality: portal-impl/src/com/liferay/portal/upload/UploadServletRequestImpl.java

 

Additional Information

 

 

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0