Saving a large file using the path GWT + GAE + S3

I am creating an application that will store large video files on the server, and then the user will be able to view them. For my application, I use GWT + GAE / J and to store the files that I would like to use for my S3 account. But, as we know, you can upload a maximum of 10mb to GAE. I asked this question and the answer I accepted will only work if you have a file that is less than 10 MB in size. This is the solution that KevMo suggested uploading entire files to the server, but what if my file is 20 MB or 100 MB. Is it possible to split this file into 10 mb, send them to GAE and then collect these files on the S3 server. Here is a picture of what I'm trying to do here:

alt text

thanks

+3
source share
2 answers

Why wouldn't your GWT client upload video directly to S3? You may have your application code generating a token or password for authentication, or what S3 calls it, and then your GWT client will send the file right there. If necessary, it can transfer all the metadata that your application engine code requires (file size, name, etc.)

see this question for more information on granting users permissions to download to S3:

PS - , , - , S3 alt text http://www.freeimagehosting.net/uploads/b49fdee149.jpg

+2

. , .

+1

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


All Articles