wodHttpDLX ActiveX Control - Progress Event
    
 

Description

Fires during data download/upload.


Syntax

Private Sub object_Progress(Position, Total)



The Progress Event syntax has these parts:

Part Description
object A wodHttpDLX object.
Position A Long value. Current amount of data received from the server.
Total A Long value. Total amount of data expected to arrive from the server.

Remarks

This event is fired when you post and receive document body from/to server. Please note that Total argument may be zero - in which case wodHttpDLX is unaware of total number of bytes that will arrive. It depends only on server's 'Content-Length' header if this value is known or not.

When Compression property is set, Position and Total arguments will show size of compressed resource - not original uncompressed one. This is because wodHttpDLX only knows about compressed resource size.

If Request.Resume property is set, Progress event will start at resumed position, not from 0.