Closed c0d33py closed 10 months ago
The progress bar is fluctuating
The onProgress callback reports the progress for each upload individually. You must manually combine these progress events to calculate the total progress over all uploaded files.
I want each file upload next file start after first file complete.
You can do this by only calling new tus.Upload(..)
and upload.start()
in the onSuccess
callback of the previous upload.
In general, I recommend you to use Uppy (https://uppy.io/) which is built upon tus-js-client and supports tus uploads. It has much better support for handling multiple files, including calculating the combined upload progress and limiting the number of concurrent uploads.
Thanks for your reply!
Dear i am Django user so that's why i have installed (django-tus) which is working fine with tus-js-client.
i am also try with @uppy/tus. The @uppy/tus is working fine the files are uploaded successfully but in the trackback getting error
File "/django/django-uppy/django_tus/views.py", line 81, in head
tus_file = TusFile.get_tusfile_or_404(str(resource_id))
File "/django/django-uppy/django_tus/tusfile.py", line 69, in get_tusfile_or_404
raise TusResponse(status=404)
TypeError: exceptions must derive from BaseException
This issue also highlighted on Django-tus #24 but nobody respond yet.
When exactly does this exception occur? During the actual upload or afterwards when you try to access the upload? Uppy directly uses tus-js-client, so if tus-js-client works, Uppy should also work without issues.
I have no experience with Django or the django-tus project, so I cannot help you much. But I would recommend you to comment on https://github.com/alican/django-tus/issues/24#issue-973376131 to see if you can get help.
Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)
Info: I want to upload multiple file using tus-js-client. I am facing some issue when i try to upload multiple files.
Issues: