I am currently trying to upload files to Alfresco CMS and i have two approaches
- Use submit the file as multipart POST request
- Upload the file as chunks from the client and then reassemble the chunks on the Alfresco side using Web Scripts.
Which approach is better and why?
I did some research online on the two approaches
difference between multipart and chunked protoccol
How does HTTP file upload work?
Why is form enctype=multipart/form-data required when uploading a file?
But still unable to conclusively determine the pros and cons.
PS: The size of files being uploaded can range for 5 MB to 2 GB.