HttpFileProgress

Family: HTTP · One form

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) → float

Parameters

NameType
connectionIDinteger

Every form returns

float

Example · generated

connection = CreateHttpConnection()DO  Print(HttpFileProgress(connection))  Sync()LOOP

CreateHttpConnection 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.

21 commands in HTTP