What it does
HttpFileProgress reads FileProgress on a HTTP object. It takes connectionID (an integer), and answers a float. connectionID is the id of a Connection object, obtained elsewhere in the HTTP family.
Syntax
HttpFileProgress(connectionID integer) → floatParameters
| Name | Type |
|---|---|
| connectionID | integer |
Every form returns
float
Example · generated
connection = CreateHttpConnection()DO Print(HttpFileProgress(connection)) Sync()LOOPCreateHttpConnection is there to give the call something to act on; HttpFileProgress is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.