IVirtualUI::DownloadFile Method

Sends the specified file to the end-user's web browser for saving it in the remote machine.

IDL

[id(0x00000070)]

HRESULT _stdcall DownloadFile([in] BSTR LocalFilename, [in] BSTR RemoteFilename, [in] BSTR MimeType);

Parameters

Parameters

Description

[in] BSTR LocalFilename

Name of the local file to be sent.

[in] BSTR RemoteFilename

Name of the file in the remote machine.

[in] BSTR MimeType

content-type of the file. If specified, the content will be handled by browser. Leave blank to force download.

Group

IVirtualUI Methods