This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Zhang Yuanyi (author)
Mon Apr 27 11:58:02 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Nov 17 05:11:17 -0800 2008 | |
| |
MIT-LICENSE | Mon Nov 17 00:50:09 -0800 2008 | |
| |
README | Thu Feb 26 19:47:22 -0800 2009 | |
| |
Rakefile | Mon Nov 17 00:50:09 -0800 2008 | |
| |
crossdomain.xml | Mon Nov 17 00:50:09 -0800 2008 | |
| |
flex_src/ | Mon Apr 27 11:58:02 -0700 2009 | |
| |
generators/ | Mon Apr 27 11:58:02 -0700 2009 | |
| |
init.rb | Mon Nov 17 00:50:09 -0800 2008 | |
| |
install.rb | Mon Nov 17 00:50:09 -0800 2008 | |
| |
lib/ | Mon Apr 27 11:58:02 -0700 2009 | |
| |
tasks/ | Mon Nov 17 00:50:09 -0800 2008 | |
| |
test/ | Mon Nov 17 00:50:09 -0800 2008 | |
| |
uninstall.rb | Mon Nov 17 00:50:09 -0800 2008 |
README
S3SwfUpload =========== S3SwfUpload allow user uploading a file to S3 directly, so you can save the cost of uploading process in your app server. Install ======= $ script/plugin install git://github.com/elcgit/s3-swf-upload-plugin.git Usage ======= 1. $ script/generate s3_swf_upload 2. configure amazon_s3.yml, and run below two tasks to create bucket and crossdomain.xml: $ rake s3:make_bucket $ rake s3:make_crossdomain 3. init s3_swf object: <%= s3_swf_upload_tag %> 4. when you click upload, your file will be upload to http://bucket.s3.amazonasw.com/s3_swf/ by default. 5. if you want to custom its behavior, here's a more complex example: <%= s3_swf_upload_tag(:width => 310, :height => 40, :success => 'alert("success");', :failed => 'alert("failed");', :selected => 'alert("selected");', :canceled => 'alert("canceled");', :prefix => 's3') %> Copyright (c) 2008 elctech, released under the MIT license







