Download Alert Data

In /rem/alerts users can download alert data.
The download will create a text file with all alerts for which the user has read authorizations.
A temporary download files will be created when the total number of alerts in the database is >300k. Direct download in this case often takes too long to succeed in dialog processing and therefore the system will create a file in the background that can be downloaded when the file was created.

The temporary download file will be created in directory FILE_DIR (parameter in /REM/ADMIN): make sure the directory exists and is shared by all application servers.