Uppy.js Multiple File Uploads with TUS Protocol
Archiviert 2 years ago
S
Daniel
Microsoft SQL
Hello there, I am working on a course platform and I want the instructors to be able to upload multiple files at once with Uppy.js.
**Current Problem:** The (resumable) upload of a single file is working fine. My endpoint ``/api/media/generate-upload-url`` creates a new file upload at Bunny.net for each file in the Uppy.js Dashboard. So let's say I select two files and click upload. What happens is two files are created on Bunny.net (see Screenshot). The upload then proceeds and only the first upload succeeds. In the screenshot you can also see that only the first upload was successful. This is the case every time I select multiple files. What actually works is upload one file and then upload another file (add them seperate on the Uppy Dashboard) but not when I select multiple files.
**My Code:** https://gist.github.com/Synistic/3a9356bb072bf1a2a2aaa00479e7a528
Thanks in advance for your help guys!

