HTTPX_GetFilesize
HTTPX_GetFilesize(DownloadID) Returns the filesize of DownloadID. If unknown it will return -1.
Syntax
native HTTPX_GetFilesize(DownloadID) /** * HTTPX_GetFilesizeLarge(DownloadID, string[], len) * * Formats the large filesize of DownloadID in string form. **/ native HTTPX_GetFilesizeLarge(DownloadID, string[], len) /** * HTTPX_GetFilename(DownloadID) * * Returns the filename of DownloadID. **/ native HTTPX_GetFilename(DownloadID, name[], len) /** * HTTPX_GetData(data[], len) * * Fills variable data[] with the last chunk downloaded. * * len decides maxlen for the data[] variable. * Remember, this is raw data. * No need to make room for null at the end unless you're passing it to any function that is * trying to automatically find the end by searching for null (any string function). * * The function will return the ammount of bytes that was written to the data[] variable. * * By looping this function until it returns 0, you can get all the data. **/
Usage
| DownloadID | — |
Defined in
httpx.inc
at line 45
.
This documentation was automatically generated from source.