[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["# UploadTaskSnapshot | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [storage](/docs/reference/js/v8/firebase.storage).\n- UploadTaskSnapshot\n=======================================================================================================================\n\nHolds data about the current state of the upload task.\n\nIndex\n-----\n\n### Properties\n\n- [bytesTransferred](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#bytestransferred)\n- [metadata](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#metadata)\n- [ref](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#ref)\n- [state](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#state)\n- [task](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#task)\n- [totalBytes](/docs/reference/js/v8/firebase.storage.UploadTaskSnapshot#totalbytes)\n\nProperties\n----------\n\n### bytesTransferred\n\nbytesTransferred: number \nThe number of bytes that have been successfully uploaded so far.\n\n### metadata\n\nmetadata: [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata) \nBefore the upload completes, contains the metadata sent to the server.\nAfter the upload completes, contains the metadata sent back from the server.\n\n### ref\n\nref: [Reference](/docs/reference/js/v8/firebase.storage.Reference) \nThe reference that spawned this snapshot's upload task.\n\n### state\n\nstate: [TaskState](/docs/reference/js/v8/firebase.storage#taskstate) \nThe current state of the task.\n\n### task\n\ntask: [UploadTask](/docs/reference/js/v8/firebase.storage.UploadTask) \nThe task of which this is a snapshot.\n\n### totalBytes\n\ntotalBytes: number \nThe total number of bytes to be uploaded."]]
Holds data about the current state of the upload task.