Chapter 17 Traffic Shaping for FortiOS 5.0 : Examples : Example setup for VoIP : Creating the traffic shapers : FTP shaper
  
FTP shaper
The FTP shaper sets the maximum bandwidth to use to avoid sudden spikes by sudden uploading or downloading of large files, and interfering with other more important traffic.
To create a FTP shaper - web-based manager
1. Go to Firewall Objects > Traffic Shaping > Shared.
2. Enter the Name ftp.
3. Select For all Policies Using This Shaper.
4. Enter the Maximum Bandwidth of 200 Kb/s
5. Enter the Guaranteed Bandwidth of 200 Kb/s.
6. Select a Traffic Priority of Low.
7. Select OK.
To create a FTP shaper - CLI
config firewall shaper traffic-shaper
edit ftp
set maximum-bandwidth 200
set guaranteed-bandwidth 200
set priority low
end
For this shaper, the maximum and guaranteed bandwidth are set low and to the same value. In this case, the bandwidth is restricted to a specific amount. By also setting the traffic priority low ensures more important traffic will be able to pass before FTP traffic.
See also 
Creating the traffic shapers
VoIP shaper
Regular traffic shaper
Creating security policies