Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

any possible way to integrate tus.io for resumable file upload? #551

Closed
hbakhtiyor opened this issue Sep 2, 2017 · 5 comments
Closed

any possible way to integrate tus.io for resumable file upload? #551

hbakhtiyor opened this issue Sep 2, 2017 · 5 comments

Comments

@hbakhtiyor
Copy link
Contributor

Open protocol for resumable file uploads

here's similar send project which used tus.

@ehuggett
Copy link
Contributor

ehuggett commented Sep 2, 2017

That looks really interesting, thanks, I've bookmarked it for future reference (/use in other projects).

This would be related to #18, as larger files take longer to upload (and the probability and consequences of network issues increase with filesize).

#174 would result in the file(s) being uploaded in "chunks", each of which could be retried individually should any of them fail to upload (most likely retransmitting the entire chunk for simplicity, the probability of failure should be low enough not to complicate it any further?).

@Acconut
Copy link

Acconut commented Sep 2, 2017

Hello, I am the project lead on the tus protocol and would like to offer my help. Even if I don't have much experience with Firefox Send, I am more than happy to answer your questions regarding tus. :)
Depending on your requirements, the tus-js-client (https://github.com/tus/tus-js-client) may already be usable for you.

@hbakhtiyor
Copy link
Contributor Author

btw, reasonable also to integrate uppy here?

@ehuggett
Copy link
Contributor

ehuggett commented Sep 3, 2017

btw, reasonable also to integrate uppy here?

(personal opinion) not yet at least?

You can only upload one file and the the OS open file dialogues from any modern desktop (windows, osx, gnome, kde etc) will display content previews. Perhaps once the user can upload multiple files? As we would presumably wait for the user to say "done, now upload it" they could be displayed at this stage. But I think we should be careful how content-previews are used for perceptions sake (ie replace them all with a lock symbol or don't display them at all once encryption starts).

@ghost ghost added this to the Stretch milestone Sep 6, 2017
@Acconut
Copy link

Acconut commented Sep 9, 2017

You can only upload one file and the the OS open file dialogues from any modern desktop (windows, osx, gnome, kde etc) will display content previews. Perhaps once the user can upload multiple files?

In case you are wondering, Uppy is capable of uploading multiple files at the same time. You can try out their demo: https://uppy.io/examples/dashboard/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants