-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files larger than 100MB are not supported. #49
Comments
Can you test with 495MB chunk size? |
Using at server:
at client:
The file size for uploading is exactly 2GB. |
Try with chunkSize = |
The results are exactly the same... 😕 |
Maybe Discord is using different API for Nitro users, Can we connect over discord to discuss on this more? |
The issue here is as follows: The discord nitro upload uses a different approach then Bot/Webhooks Uploads by directly uploading to the google cloud bucket without tunneling through discord. So in order to support this DDrive needs an entire new Upload Backend which can switch between the 2 upload methods. Here is a description of the nitro upload sequenze: |
I use a user token that has nitro and uploads files up to 500 MB. Uploads through Discord itself work:
But in ddrive when I try to upload a file with 100MB+ chunks, I get error.
when configured this:
const chunkSize = 104857601
At the same time, if I set the chunkSize to exactly 100MB, the files are uploaded successfully.
when configured this:
const chunkSize = 104857600
The text was updated successfully, but these errors were encountered: