rails server side to upload file from jquery-html5-upload?

Posted by Mr_Nizzle on Stack Overflow See other posts from Stack Overflow or by Mr_Nizzle
Published on 2010-06-03T17:19:30Z Indexed on 2010/06/06 8:42 UTC
Read the original article Hit count: 458

Filed under:
|
|

I'm trying to use this plugin: jquery-html5-upload http://plugins.jquery.com/project/jquery-html5-upload and it's working but i don't know how to get the file and save it on the server on the rails action.

in my rails log i just get this:


...
7?\021\b\000\034\000%\003\001\021\000\002\021\001\003\021\001\377?\e\000\000\001\005\001\001\000\000\000\000\000\000\000\000\000\000\000\003\001\002\004\005\006\000\a\377?2\020\000\001\002\002\b\005\002\004\a\000\000\000\000\000\000\000\001\002\003\004\021\000\005\022\023\024!\"1\006\#$2A\aQ\026ar?3BCR\201\243\261\377?\030\001\001\001\001\001\001\000\000\000\000\000\000\000\000\000\000\000\000\002\001\004\005\377?!\021\001\000\001\003\003\005\001\000\000\000\000\000\000\000\000\000\000\021\001\002\
...

i don't really know how to get the file and save it on the server. thx.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ruby-on-rails