Hi,

S3 is using HTTP to do large upload. I have uploaded files over 6 Gb.

1. call mpUploadInitiate 
(https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
        you will get an multipartUploadId (a unique id, could be a uuid if you 
create your api)

2. Then send the parts (minimal size 5 Mb for S3), specifying the part number 
(sequence of the part) and the multipartUploadId.
        For each part, you will get an "etag" in the response headers (the tag 
is a sort of hash, it is standardized)

3. When the upload is complete (all parts have been send successfully), you 
call the api to with the multipartUploadId and the list of part numbers and 
etags. Then S3 rebuilds the file for you...

I haven't coded the amazon S3 server side in 4D (of course), but i did 
implement the client side api and it gives a good idea on how to do it ;-). 

Bruno LEGAY
A&C Consulting
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to