Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Nelson_Abreu
Employee
Employee
Jump to solution

API - File upload size limit.

Hello,

Where I can find the "size limit" for the files to be submitted via API?

I understand is 15 MB but I can't find it in the documentation. 

0 Kudos
1 Solution

Accepted Solutions
Thomas_Werner
Employee Alumnus
Employee Alumnus

Hi Nelson,

You can give this a try:

in file /opt/CPUserCheckPortal/conf/httpd.conf :

Find line
LimitRequestBody 30720
Change it to
LimitRequestBody 20000000

(Reference: core - Apache HTTP Server Version 2.4)

in file  /opt/CPUserCheckPortal/conf/php.ini :
Find line
post_max_size = 30K
Change it to
post_max_size = 20M

Above example should raise limit to 20MB.

Regards Thomas 

View solution in original post

2 Replies
Thomas_Werner
Employee Alumnus
Employee Alumnus

Hi Nelson,

You can give this a try:

in file /opt/CPUserCheckPortal/conf/httpd.conf :

Find line
LimitRequestBody 30720
Change it to
LimitRequestBody 20000000

(Reference: core - Apache HTTP Server Version 2.4)

in file  /opt/CPUserCheckPortal/conf/php.ini :
Find line
post_max_size = 30K
Change it to
post_max_size = 20M

Above example should raise limit to 20MB.

Regards Thomas 

Nelson_Abreu
Employee
Employee

I was wondering what would be the upload limit to the Threat Prevention API - Cloud...? - I recently developed a Threat Prevention API Client that basically facilitates to upload a file to the Threat Prevention API for emulation on the 5 environments and also allows you to retrieve the PDF report (just like the gateway but from the desktop) .

Does anybody knows what would be the upload limit... Right now I am following the 15 MB limit specified @  https://threatemulation.checkpoint.com 

Threat Prevention API Client - OK File

Threat Prevention API Client - Malicious File

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events