A structure containing status/progress information while the file upload/download is in progress.
public typedef 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 |
Indicates the total size, in bytes, of the file being downloaded. |
flags |
asa_uint16 |
Provides additional information. The MLFT_STATUS_FLAG_IS_BLOCKING value is set when the MLFileDownload method is blocking on a network call and the download status has not changed since the last time the observer method was called. |
info |
ml_file_transfer_info * |
Points to the information object passed to the MLFileDownload method. 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 |
Set to true to cancel the current download. You can resume the download in a subsequent call to the MLFileDownload method, but only if you have set the enable_resume parameter. |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |