DownloadingStart

Description

Occurs before a download begins.

Syntax

DownloadingStart (integer itemId, string filename, string uri, string mimeType, string contentDisposition, longlong total)

Event ID

Event ID

Objects

None

WebBrowser controls


Arguments

Argument

Description

itemId

The ID of the download item, which starts from 1.

fileName

The full path name of the file to be downloaded and saved locally.

uri

The URI of the download item.

mimeType

The MIME type of the download item.

contentDisposition

The value of the HTTP response header Content-Disposition of the download request.

total

The size of the file to be downloaded.


Return Values

None

See also

AddressChange

CertificateError

DownloadingStateChanged

EvaluateJavascriptFinished

NavigationError

NavigationProgressIndex

NavigationStateChanged

NavigationStart

PdfPrintFinished

ResourceRedirect

TitleTextChanged