FML: File Management Language

Top  Previous  Next

File Management Language (FML) is a simple language that can be used to execute some basic functions on files or directories. This language can be used through "FML" property of the FMLProcess element. You should consider the following points when using it.

1.Embedded MScript functions can be used within FML.
2.MScript symbols can be used as the FML function parameters.
3.The function parameters that contain file or directory names can be defined absolute or relative to the root directory of the web application. See Absolute or Relative Names.

 

Example:

 

  GetAttr(v:FILENAME,'SIZE as v:SIZE')

  @doif(v:SIZE < 30000)

    Delete(v:FILENAME)

  @doend()

 

 

FML functions

 

Copy

CreateDir

Delete

GetAttr

Read

Rename

SetLM

SetRO

UnZip

Write

Zip