Message
(string) Either a blank string ("") or an information message being sent by the server, such as "Resolving host name" or "Connecting to Server."
Note: If this parameter is not a blank string, it means that it is in a busy state, either before the download has begun, or at the end of the download. In this case all other parameters will be ignored.
The callback function should return a boolean value (true or false) indicating whether the download should continue:
VALUE DESCRIPTION |
|
true |
Continue with the file download. |
false |
Stop the file download as soon as possible. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
HTTP.DownloadSecure
OverviewExamples
HTTP.DownloadSecure ( string URL,
string Filename,
number Mode = MODE_BINARY,
number Timeout = 20, number Port = 443, table AuthData = nil, table ProxyData = nil,
function CallbackFunction = nil )
De s cr ip t ion
Downloads a file from an Internet Web site using HTTPS (secure hypertext transfer protocol).
The secure hypertext transfer protocol (HTTPS) is a communications protocol designed to transfer encrypted information between computers over the World Wide Web. HTTPS is http using a Secure Socket Layer (SSL). A secure socket layer is an encryption protocol invoked on a Web server that uses HTTPS.
Note: The successful use of the HTTPS protocol requires a secure server to handle the request.
Note: This action requires that the end user has Internet Explorer version 4.0 or greater installed.
Note: The default proxy settings that are currently configured through Internet Explorer will be used for the download by default, and is the recommended method. However if you require alternate proxy settings, they can be passed through the ProxyData parameter.
Tip: If this action fails, you can retrieve specific HTTP error details using HTTP.GetHTTPErrorInfo.
P arame t er s
URL
(string) The full URL to the file you want to download.