Skip to content

libcURL.EasyHandle.Progess

Andrew Lambert edited this page Nov 26, 2022 · 20 revisions

Event Signature

 Event Function Progress(dlTotal As Int64, dlNow As Int64, ulTotal As Int64, ulNow As Int64) As Boolean

Parameters

Name Type Comment
dlTotal Int64 The total number of bytes libcURL expects to download in this transfer.
dlNow Int64 The number of bytes downloaded so far.
ulTotal Int64 The total number of bytes libcURL expects to upload in this transfer.
ulNow Int64 The number of bytes uploaded so far.

Return value

Return True to abort the transfer.

Remarks

This event handles either the CURLOPT_XFERINFOFUNCTION (libcURL 7.32.0 and newer) or the CURLOPT_PROGRESSFUNCTION callbacks.

This event will be raised at a varying but frequent interval. If you don't need it then you should consider disabling progress callbacks by setting the UseProgressEvent property to False. This can provide a modest performance boost.

See also

Clone this wiki locally