Hello there I have been trying to upload large video file about 200 MBs to the Appwrite storage bucket but it seems slow in response and when I read in the documentation it says that it handles the first chunk and returns the file id after the first chunk is returned. I need the file Id so that I can store it as a reference in one of my database collection so that I can get it later for viewing and downloading if possible. How can I work around modifying the content Range header when uploading the files so that I speed up the process and give the user feedback about the upload progress as the file uploads
Are you using our SDK?
Yes. Actually I've just realised that I was awaiting the storage promise to resolve which was unnecessary. So It's now proceeding fine
Just had to generate a unique ID for the file before I actually call for it to be uploaded.
If you're using the SDK, the create file has a callback as one of the params that lets you check the progress of the upload
Thank you.
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...