OpenWGA 7.7 - TMLScript reference

TMLForm "tmlform"
Method :

getFileSize(filename)

On object TMLForm "tmlform"
Usage Returns the size of an uploaded file in bytes
Parameters filename (String):
Name of the file
Return value Size in bytes (Number)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent