#Download Error: both API upload and Web UI upload

1 messages · Page 1 of 1 (latest)

solid maple
#

I am experiencing a bug where when I am downloading an uploaded file > 20MB, I get 0bytes to ~3 MBs after the download. Downloaded file is corrupt and obviously unopenable given the mismatch in size.

I am using the website UI (Chrome, MacOS) to download/upload, have tried using API to upload and download. Have tried from files from few kbs to 60MBs, haven't tried more because upload is slow; formats range from .mov .webm, .zip, and pdf . But basically when files exceed a certain size, I am no longer able to download a working file. When being a certain size, it seems fine. From my testing, that threshold could be 13-23 MBs.

project id: 660afc6b61443f10df99

red vortex
#

We upload files in 5MB chunks for less memory use and better reliability. You can do this through REST API but you need to implement chunked upload, which I don't recommend. It has to do with manipulation of input file at a byte level

solid maple
#

but how come the download from the webui is 'incomplete', even if uploaded from the webui ?

#

and this is a recent occurence; previously, this was not a problem

#

and per the documentation:
"If you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally."
sorry, when i said api, i meant python sdk for upload, and api for download

chrome fable
#

Hey @solid maple, I'm looking into the issue.