title: Upload large files to S3 with resume support
body: <p>(I'm new to Amazon AWS/S3, so please bear with me)</p>
  
  <p>My ultimate goal is to allow my users to upload files to S3 using their web browser, my requirements are:</p>
  
  <ol>
  <li>I  must handle large files (2GB+)</li>
  <li>I must support pause/resume with progress indicator</li>
  <li>(Optional but desirable!) Ability to resume upload if connection temporarily drops out</li>
  </ol>
  
  <p><strong>My two-part question is:</strong></p>
  
  <ul>
  <li>I've read about the S3 multipart upload but it's not clear how can I
  implement the pause/resume for webbrowser-based uploads.</li>
  </ul>
  
  <p>Is it even possible to do this for large files? If so how?</p>
  
  <ul>
  <li>Should I upload files to EC2 then move them to S3 once I'm done? Can
  I (securely) upload files directly to S3 instead of using a temp. webserver?</li>
  </ul>
  
  <p>If it's possible to upload directly to S3, how can I handle pause/resume?</p>
  
  <p><strong>PS. I'm using PHP 5.2+</strong></p>