|Manuals

TVirtualUI.DownloadFile Method

Description

This method facilitates sending a file from a server to an end-user’s web browser for local storage on their machine.

Syntax

procedure DownloadFile(const LocalFilename: WideString; const RemoteFilename: WideString); safecall; overload;

Parameters

Parameter Type Description
LocalFilename WideString Name of the local file to be sent
RemoteFilename WideString Name of the file in the remote machine

Functionality

The method enables transfer of a specified file from the server to the client’s system through the web browser’s download mechanism.

See Also

  • DownloadFile Method (Group)