How to boot to S3 with Pause / Resume support?

I would like to know how to upload a file to Amazon S3 with Pause and Resume support? (Via a web browser).

Are any sample web applications available? Any programming language / framework is good.

Thanks in advance.

Decision

I implemented the following application. Github link

It is based on an example application and gem from Condominios .

All loans https://github.com/cotag/ for a great gem and work.

Features:

- Pause / Resume support ~ 5MB chunks - Large File Upload - Progress Bar - No Java Applet / No Flash - Registration system via devise 
+6
source share
7 answers

I implemented the following application. Github Link:

 https://github.com/interpegasus/condo_example 

It is based on an example application and gem:

 http://cotag.github.com/Condominios/ 

All loans https://github.com/cotag/ for a great gem and work.

Features:

  • Pause / resume support ~ 5 MB fragments
  • Download large file
  • Progress bar
  • No Apple Applet / No Flash
  • Device Registration System
+3
source

This one is big. I have been looking for a clean answer for them for a very long time. I even built something, but it always comes to using the environment for your application. I believe that the best solution I have found is to use this. This is a very simple idea, and most of it is using only a small amount of flash.

S3 Heroku Flash Uploader

Github source code

However, the downward side is that you cannot download anything successfully, which is more than 512 MB, after which some cashing out will occur. Free track or something else. I think the only solution I can come up with is to create a Java application that will handle the upload to the server. At least then you have a more stable connection and no need to worry about browser issues.

+3
source

You must create it using the multipart download API. Here is the link for Java:

http://docs.amazonwebservices.com/AmazonS3/2006-03-01/dev/mpListPartsJavaAPI.html

The idea would be to initiate a multi-user download, start downloading parts (the size of which will be based on the client’s transfer speed) and whenever the user pauses the download, stop downloading the parts. You will not have bytes to pause the drill, but I suspect that the user did not notice this.

+3
source

Evaporate js is a pretty good plugin for this particular task.

Look at here:

https://github.com/TTLabs/EvaporateJS

+2
source

You will need a client something like this: https://github.com/23/resumable.js

And a server that:

  • Records fragments somewhere (locally or on S3)
  • Loads a fully assembled file to S3.

You cannot do this directly from the browser on S3.

Update: S3 now supports CORS. http://aws.amazon.com/about-aws/whats-new/2012/08/31/amazon-s3-announces-cross-origin-resource-sharing-CORS-support/

+1
source

Have you tried the S3Fox firefox plugin?

0
source

Source: https://habr.com/ru/post/921340/


All Articles