fileSize

Returns the size of a file in bytes.


            fileSize (filename)
         

Parameters

filename

The full name of the file.

Return value

Returns the size of the file or -1 if an error occurred (for example, if the file was not found).

Features

Available in:

  • Content management
  • Delivery properties
  • Typology rule
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow