I am following the below step to do the same
1) First I transfer the zip file to EC2 which contain a html file and a folder (containing js and css files)
2) Then I unzipped it into a folder named timestamp (14585857) in EC2 (that timestamp folder is kept under webroot/temp/ )
3) Then I moved unzipped folder using uploadDirectory function, zip file using putObject function and html file using putObject function to first S3 bucket (region of first S3 bucket is ap-southeast-1)
4) After successfully transfer to first S3 bucket then I moved same unzipped folder, zip file and html file to second S3 bucket (region of second S3 bucket is eu-west-1)
Here, problem is when I upload small sized file (about 40 to 80 MB) then it works perfectly fine But when I try to upload file which is above 100 MB in size then sometimes it works and sometimes get interrupted
Any suggestion, how I can upload large size file or find any improvement in my process.