Learn how to store and access files with QuickBlox file storage.
Argument | Required | Description |
---|---|---|
file | yes | File in the local storage. |
publicAccess | yes | File visibility. If the file is public then it’s possible to download it without a session token. |
tags | yes | Comma-separated string with tags. |
progressCallback | no | Callback to receive upload progress. |
Basic | Startup | Growth | HIPAA | Enterprise | |
---|---|---|---|---|---|
File size limit | 10 Mb | 25 Mb | 50Mb | 50Mb | Contact our sales team |
getFile()
method. This method allows to load the file description model from the server, not the content of the file itself.
Argument | Required | Description |
---|---|---|
fileID | yes | ID of the file. |
QBFile
. There are two types of file URLs that can be obtained: private and public.
Argument | Required | Description |
---|---|---|
fileUID | yes | File unique identifier. You can take the fileUid from the file using the getFile() method. |
Argument | Required | Description |
---|---|---|
fileUid | yes | File unique identifier. You can take the fileUid from the file using the getFile() method. |
deleteFile()
method below.
Argument | Required | Description |
---|---|---|
fileID | yes | ID of the file. |