GetHTTPFile

Description

Downloads an HTTP file from the server specified in SetHTTPHost and saves it to the location specified. Also allows you to send POST data to the server which can include variables or file data, e.g. "myvar=5&var2=test". This command returns immediately and continues the file download in the background. You can check on the progress of the download with GetHTTPFileProgress and GetHTTPFileComplete. The file will then be at the location you specified ready for use with AGK.

Definition

integer GetHTTPFile( iHTTP, szServerFile, szLocalFile, szPostData )

integer GetHTTPFile( iHTTP, szServerFile, szLocalFile )

Parameters