Skip to main content
Version: 5.7.0

GetUploadBytesTransferred

Returns the number of bytes uploaded or -1 if upload not found.

caution

This will always return the total bytes to transfer on Unity mobile platforms.

Method Parameters

ParameterDescription
uploadIdThe id of the upload

Usage

http://localhost:3000
string myUploadId = "1234-1234-1234-1234"; //From UploadFile return data

int bytes = _bc.FileService.GetUploadBytesTransferred(myUploadId);