Skip to main content
gcortes1
Staff
Staff
August 17, 2025

Technical Tip: How to modify the size of a file for scan.

  • August 17, 2025
  • 0 replies
  • 540 views
Description

This article describes how to modify the default file analysis size in FortiSandbox.
This can be useful, for example, when it is necessary to send a file larger than the default value defined in FortiSandbox.

 

file_fail.PNG

Scope FortiSandbox all versions.
Solution

Open an SSH session or the CLI console on the FortiSandbox.
Validate the current configuration of the files to scan.

 

filesize-limit -l

 

FSA_Limit_CLI.PNG

 

File size limits are determined by the input type (on-demand, sniffer etc). The default limit for each type is set to 200MB for single file and 500MB for uncompressed archives. If a file exceeds this limit, it may not be analyzed or could result in an error.

 

See the following example of how to modify the file size on demand:

 

filesize-limit -tondemand -v250 -u500

 

FSA_Limit_CLI-CV.png

 

Once the value has been modified, the file can be analyzed.

 

File_Ok.PNG

 

It is important to note that the maximum values supported by the FortiSandbox are defined in Appendix ‌‌D: Maximum Values - FortiSandbox administration guide.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.