How to sequence events while uploading large files to Amazon S3?

Posted by coolpawan4u on Stack Overflow See other posts from Stack Overflow or by coolpawan4u
Published on 2010-04-18T06:51:09Z Indexed on 2010/04/18 7:03 UTC
Read the original article Hit count: 159

Filed under:

I am seeing problems uploading large files e.g. 100MB. Files go to Amazon S3 successfully, but after that scripts are waiting for if($flag == 1) and do not execute the rest of the code. Can anyone tell me the solution for this?

if($s3->putObjectFile($uploadDIR, $bucket, $name, S3::ACL))
{
      $flag = 1;
}

if($flag == 1)
{
      //continue code
}

© Stack Overflow or respective owner

Related posts about amazon-s3