AWS/node.js question

I’m looking for sample code that sets the “website-redirect-location” property of an S3 object using the AWS toolkit for node.js.

Here’s the code I wrote that does not succeed in setting the property on the object.

s3.putObject ({Bucket: “”, Key: “hello.html”, WebsiteRedirectLocation: “”});

I’ve stared at the code, tried all kinds of permutations, but there really isn’t that much I can change.

If anyone has working code for this please let me know. I have a really cool feature waiting for this to work. 😉


About Dave Winer

Dave Winer, 54, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s