title: Difference between upload() and putObject() for uploading a file to S3?
body: <p>In the aws-sdk's <code>S3</code> class, what is the difference between <a href="http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#upload-property" rel="noreferrer"><code>upload()</code></a> and <a href="http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObject-property" rel="noreferrer"><code>putObject()</code></a>? They seem to do the same thing. Why might I prefer one over the other?</p>