WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.


A File represents a Boomla file.


new File() File

Create a new file on the temporary filesystem //temp.


Reference to a Boomla file. Just like on traditional operating systems, Boomla files have an ID, the reference is ID based. Boomla guarantees that any code is always executed in ACID transactions, and during the transaction the entire filesystem is blocked from concurrent access. Thus it is impossible for any file references to break due to concurrent access. Read: if it breaks, you broke it.


Basic example.

Creating multiple temp files in a row.

Can’t access temp volume without a reference (variable).