Thursday, 16 March 2017

Best way to upload large files from client to 3rd party (e.g. dropbox) via oauth

I am currently creating a dashboard in django that allows users to upload to various hosting services such as dropbox/google drive/one drive.

I am wondering what would be a good way to implement large file (2 gb < ) uploads?

Sorry for the broadness of the question, there just doesnt seem to be anyway to phrase this better. I'm basically trying for some sort of client based uploader that is resumable (in order to prevent dropping at 99%) but will disconnect/cancel if the user leaves the page. I was thinking some sort of websocket based uploader client side, but really have no clue what to do server side. Some sort of nodejs streaming connector? Just use a normal django endpoint and split the data into smaller chunks but risk a huge overhead (e.g. sessions/etc)



via Alan

No comments:

Post a Comment