- Home /
Little help with S3
IS there a way to use Javascript in unity to like Create/Edit a textfile stored on S3?
I notice you've asked more than a dozen questions here, and haven't marked any of the answers you've received as "accepted". Go ahead and do that, and I'll help you out with this.
Answer by sneftel · Aug 01, 2011 at 05:26 PM
You can use Amazon S3's REST-based interface to upload and download objects. Unity doesn't support PUT requests, but it does support GET and POST requests, and those are sufficient for reading and writing. You'll use the WWW
class for this, with the three-argument form: The first argument will be the S3 URL, the second will be the file contents encoded as a byte array, and the third will be a hashtable of the form fields. More info on the WWW
class is in the Unity script reference, and documentation of the REST API for S3 is here. In particular, note the link about POST-based uploads.
Thanks :D now i can focus on 1 thing ins$$anonymous$$d of searching all over the place. BTW: i was already using WWW for reading
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How should I store certain game data? 0 Answers
Creating a UI Button from the inspector??? 1 Answer
create lightning 0 Answers
How to create inputs? 2 Answers