The FireScript Language
- Last Updated: January 29, 2024
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
The FireScript Language
The FireScript language contains a limited version of elements you may be familiar with if you have written scripts or programs in other languages. It uses variables, declarations, and statements to perform actions and direct program flow. Each of these elements is described in the following sections. The statements cannot exceed 4k characters.
Syntactically, FireScript statements are terminated by semicolons. They may therefore extend across multiple lines, and you can have multiple statements on a line. A string however, may not span lines. The final closing quote must appear on the same line of source code as the opening quote. For example, the code below is valid:
contains(lastreply,"Welcome to my cool
FTP site");but the following is not:
contains ( lastreply, "Welcome to my cool
FTP site" );