Scripts

This section allows the user to specify a script that will be run whenever a certain URL is entered. This permits special handling of URL's.

 

e.g. In the Web Mail system all attachment downloads are handled by the script attachments.fts and the system is configured so that any access to the url \webmail\attachments\ runs the script.

 

Thus accessing \webmail\attachments\1.exe from the browser will run the script as will \webmail\attachments\dir1\dir2\dir3\x.jpg

 

 

 

Property

Description

URL

Enter the URL that when accessed will execute the script.

Script

Enter the name of the script to run when that URL  is requested.

 

Scripts should be placed in the Script library folder, and enter the name of the script into this field, e.g. attach.fts

 

If the script file is in a different folder/location, the full path to it should be defined.

Script timeout

This should be set to around 60- 90 seconds to prevent infinite loops and other errors from stopping the Web Admin interface.

 

After entering the URL and Script name/location path, press the æAdd scriptÆ button to add the script to the list.