- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Re: API - File upload size limit.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
![](/skins/images/74119E49EB1AA30407316FFB9151D237/responsive_peak/images/icon_anonymous_message.png)