Previous: Step 4---Write the Nodejs Code, Up: Getting Started in Nodejs SDK [Index]
Type the following command to run the sample.
node sample.js
If the upload is successful, you’ll see a confirmation message at the command line. You can also find the bucket and the uploaded text object in the Amazon S3 console.