VirtualUI.DownloadFile Method (string, string, string)
Description
This method enables file transmission to an end-user’s web browser for storage on their remote machine.
Syntax
public void DownloadFile(string LocalFilename, string RemoteFilename, string MimeType);
Parameters
| Parameter | Type | Description |
|---|---|---|
LocalFilename |
string | Name of the local file to be sent |
RemoteFilename |
string | Name of the file in the remote machine |
MimeType |
string | Specifies the content-type of the file. When provided, browsers will attempt to handle the content; leave empty to enforce download behavior |