We have a requirement of uploading the files from user's local machine to different sites. Sites can be any of google or dropbox or any other cloud env.
During the process of file uploaded, it's metadata should be extracted and should be stored in the different site(google drive or drop box,..).
There can be network failure during the file upload process. Keeping this in mind, which pattern is recommended for my scenario?