# http.asyncGet

Retrieves a file via HTTP GET and triggers a callback

Usage

    http.asyncGet [switches] (<http_url> [,save_file_name])
    {
        <callback command>
    }

Description

Attempts to download the file at <http_url> by using the HTTP GET or POST protocol.
If [save_file_name] is specified, then is is used as save file name, otherwise a save file dialog is displayed (unless -a is used).
This command is really similar to http.get: it has exactly the same parameters and switches (so also refer to its documentation). The only difference is that asyncGet triggers the <callback command> upon completion instead of the global OnHTTPGetTerminated event. The parameters passed to the callback are exactly the same. If the url contains a https:// prefix then a SSL connection will be used.

Syntax Specification

    http.asyncGet [switches] (<http_url> [,save_file_name])
    {
        <callback command>
    }

See also
http.get

Index, Commands

KVIrc 4.2.0.6190 Documentation
Generated by root at Mon Sep 23 06:46:00 2013