<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: API - File upload size limit. in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5733#M495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&amp;nbsp;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) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knows what would be the upload limit... Right now I am following the 15 MB limit specified @&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://threatemulation.checkpoint.com" title="https://threatemulation.checkpoint.com"&gt;https://threatemulation.checkpoint.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Threat Prevention API Client - OK File" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/59182_TPAPI-2.png" style="width: 620px; height: 351px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Threat Prevention API Client - Malicious File" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/59183_TPAPI-1.png" style="width: 620px; height: 352px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2017 00:12:24 GMT</pubDate>
    <dc:creator>Nelson_Abreu</dc:creator>
    <dc:date>2017-09-29T00:12:24Z</dc:date>
    <item>
      <title>API - File upload size limit.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5731#M493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where I can find the "size limit" for the files to be submitted via API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand is 15 MB but I can't find it in the documentation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 05:48:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5731#M493</guid>
      <dc:creator>Nelson_Abreu</dc:creator>
      <dc:date>2017-08-28T05:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: API - File upload size limit.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5732#M494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nelson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can give this a try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in file&amp;nbsp;&lt;EM&gt;/opt/CPUserCheckPortal/conf/httpd.conf&lt;/EM&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find line&lt;BR /&gt; &lt;SPAN style="color: red;"&gt;LimitRequestBody 30720&lt;BR /&gt; &lt;/SPAN&gt;Change it to&lt;BR /&gt; &lt;SPAN style="color: red;"&gt;LimitRequestBody 20000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Reference:&lt;SPAN style="color: red;"&gt;&amp;nbsp;&lt;A class="link-titled" href="https://httpd.apache.org/docs/2.4/de/mod/core.html#limitrequestbody" title="https://httpd.apache.org/docs/2.4/de/mod/core.html#limitrequestbody"&gt;core - Apache HTTP Server Version 2.4&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in file&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt; /opt/CPUserCheckPortal/conf/php.ini&lt;/EM&gt; :&lt;BR /&gt; Find line&lt;BR /&gt; &lt;SPAN style="color: red;"&gt;post_max_size = 30K&lt;/SPAN&gt;&lt;BR /&gt; Change it to&lt;BR /&gt; &lt;SPAN style="color: red;"&gt;post_max_size = 20M&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above example should raise limit to 20MB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Thomas&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 12:28:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5732#M494</guid>
      <dc:creator>Thomas_Werner</dc:creator>
      <dc:date>2017-09-06T12:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: API - File upload size limit.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5733#M495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&amp;nbsp;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) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knows what would be the upload limit... Right now I am following the 15 MB limit specified @&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://threatemulation.checkpoint.com" title="https://threatemulation.checkpoint.com"&gt;https://threatemulation.checkpoint.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Threat Prevention API Client - OK File" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/59182_TPAPI-2.png" style="width: 620px; height: 351px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Threat Prevention API Client - Malicious File" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/59183_TPAPI-1.png" style="width: 620px; height: 352px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 00:12:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-File-upload-size-limit/m-p/5733#M495</guid>
      <dc:creator>Nelson_Abreu</dc:creator>
      <dc:date>2017-09-29T00:12:24Z</dc:date>
    </item>
  </channel>
</rss>

