HTTPSocket.DownloadComplete Event

Executes when a download is complete after using the Get or Post methods and passing the optional parameter. URL contains the URL that was downloaded.

Syntax
DownloadComplete ( URL, HTTPStatus, Headers, File )

Parameters
URL | String
HTTPStatus | Integer
Headers | InternetHeaders
File | FolderItem

# Notes

File is the FolderItem the data was downloaded to, and Headers is a dictionary of the HTTP headers that were returned by the server. The HTTPStatus code is also passed to this event. These codes are used for messages such as "Page not found" (error 404), and so forth.