title: MultiPowUpload (flash file upload component) giving Error #2049 while uploading to Amazon S3
body: <p>Using <a href="http://www.element-it.com/multiple-file-upload/flash-uploader.aspx" rel="nofollow">MultiPowUpload</a> (flash file upload component) to Upload files to <a href="http://aws.amazon.com/s3/" rel="nofollow">Amazon S3</a>.</p>
  
  <p>I just use the <strong>flash_amazons3generator.html</strong> file to generate the "S3 Policy and Signature" to paste in var <strong>flashvars = {}</strong>.</p>
  
  <p>But when I tried to upload it giving me "<strong>Error #2049</strong>".</p>
  
  <p>Here is my <strong>S3 Policy and Signature</strong>:</p>
  
  <pre><code> var flashvars = {
        "uploadUrl": "http://myBucket.s3.amazonaws.com",
        "amazonS3.accessKeyId": "xxxxxx",
        "amazonS3.policy": "xxxxxx",
        "amazonS3.signature": "xxxxx",
        "amazonS3.acl": "public-read-write",
        "amazonS3.key": "xxxxx"
   };
  </code></pre>
  
  <p>I also tried to use 'encodeURI' and 'encodeURIComponent' method, may be its a problem due to Encoding but no avail:</p>
  
  <pre><code> 'policy': encodeURI(data.policy)
   'signature': encodeURIComponent(data.signature)
  </code></pre>
  
  <p>Any idea where I am going wrong?.</p>