SendWebFile (open)

Send a file to the web client

Syntax

LOADLIB "mod::system/lib/webserver.whlib";

MACRO SendWebFile(BLOB data)

Parameters

BLOB data

File to send

Description

Reset the response and send the specified file to the user. This function does not return, but the VM, including any database transactions, will remain open until the file transfer is complete.