summaryrefslogtreecommitdiff
path: root/s3/upload.html
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-04-01 12:36:30 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-04-01 12:36:30 +0300
commitd71a2bc0cf6a14523d51828d5d1ad47075bbdb3f (patch)
treef2256791fc267815e85fadeeb65a50f3d554b1e0 /s3/upload.html
parent9c04e8c4d1353a73103f67413c8ea426bdb6beb6 (diff)
added s3 stuff
Diffstat (limited to 's3/upload.html')
-rw-r--r--s3/upload.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/s3/upload.html b/s3/upload.html
new file mode 100644
index 0000000..b05a599
--- /dev/null
+++ b/s3/upload.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+ <head>
+ <title>S3 POST Upload Form</title>
+ </head>
+ <body>
+ <form action="http://zehimg-test.s3.amazonaws.com/uploads/" method="post" enctype="multipart/form-data">
+ <input type="text" name="key" value="testfile.txt" /><br/>
+ <input type="text" name="acl" value="public-read" /><br/>
+ <input type="text" name="content-type" value="text/plain" /><br/>
+ <input type="hidden" name="AWSAccessKeyId" value="AKIAJBSLAMYWUPXGMGFQ" />
+ <input type="hidden" name="policy" value="eyJleHBpcmF0aW9uIjogIjIwMTItMDEtMDFUMDA6MDA6MDBaIiwKICAiY29uZGl0aW9ucyI6IFsgCiAgICB7ImJ1Y2tldCI6ICJ6ZWhpbWctdGVzdCJ9LCAKICAgIHsiYWNsIjogInB1YmxpYy1yZWFkIn0sCiAgICB7InN1Y2Nlc3NfYWN0aW9uX3JlZGlyZWN0IjogImh0dHA6Ly9sb2NhbGhvc3QvIn0sCiAgICBbInN0YXJ0cy13aXRoIiwgIiRDb250ZW50LVR5cGUiLCAiIl0sCiAgICBbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwgMCwgMTA0ODU3Nl0KICBdCn0=" />
+ <input type="hidden" name="signature" value="CKg6xXZP9bofdlQHQX7Vwz7f8E0=" />
+ <input name="file" type="file" />
+ <input name="submit" value="Upload" type="submit" />
+ </form>
+ </body>
+
+</html> \ No newline at end of file