Back to product page

Progress64 method


Called during data download/upload.

Syntax

  • Basic
object.Progress Owner, PositionLo, PositionHi, TotalLo, TotalHi
The Progress64(object,Owner,PositionLo,PositionHi,TotalLo,TotalHi) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpNotify.
OwnerRequired. A wodHttpDLXCom object. Reference to wodHttpDLXCom instance that called this notification method.
PositionLoRequired. A Long value. Lower 32bit current amount of data received from the server.
PositionHiRequired. A Long value. Higher 32bit current amount of data received from the server.
TotalLoRequired. A Long value. Lower 32bit total amount of data expected to arrive from the server.
TotalHiRequired. A Long value. Higher 32bit total amount of data expected to arrive from the server.

Remarks

NOTE: This method is called only if you implemented IwodHttpNotify interface in your application, and wodHttp.Notification property has received reference to instance of your implementation.

This notification method is called when you post and receive document body from/to server, after Position or Total go over 4.7GB. 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.