I am trying to sync folders between my remote server and amazon s3 using the system command through a php web page. The web page has option to browse the folder which need to sync between the server and s3
The s3 command is the below one
system('s3cmd sync '.$fldr_name.' '.BUCKET_NAME.' --config="'.AWS_CONF_FILE.'"',$return);
For small folders it is working . But I am syncing large file web pages connection is resetting .
I tried this on my php script
ignore_user_abort(true);
But no luck. Is there any way to make the webpage executable for a long time?
Thanks,