Promotic

Download of files

The PmaWebDir object allows to choose the folder (containing files) on the server that will be offered to the Web client for viewing or download.

For such file downloads, it is possible to use the preconfiguration Preconfiguration "File manager". It is also possible to open the WebDir page, where the files are available for download by hyperlinks.

Example:
Script in the onButtonUp event of the PmgButton object that opens the root page of the PmaWebDir object.
JavaScriptSelect and copy to clipboard

var oCreator = Pm.CreateView(null, "/Web/Dir", "", "target:_blank;");
oCreator.Open();

History:
Pm9.00.14: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.