A structure containing status/progress information while the file upload/download is in progress.
public struct ml_file_transfer_status
Member name | Type | Description |
---|---|---|
bytes_transfered |
asa_uint64 |
Indicates how much of the file has been downloaded so far, including previous synchronizations, if the download is resumed. |
file_size |
asa_uint64 |
The total size in bytes of the file being downloaded. |
flags |
asa_uint16 |
Provides additional information. The value MLFT_STATUS_FLAG_IS_BLOCKING is set when MLFileDownload is blocking on a network call and the download status has not changed since the last time the observer function was called. |
info |
ml_file_transfer_info * |
Points to the info object passed to MLFileDownload. You can access the user_data parameter through this pointer. |
resumed_at_size |
asa_uint64 |
Used with download resumption and indicates at what point the current download resumed. |
stop |
asa_uint8 |
May be set to true to cancel the current download. You can resume the download in a subsequent call to MLFileDownload, but only if you have set the enable_resume parameter. |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |