Multiple File Upload with Restful authentication

8 views
Skip to first unread message

Jason Stewart

unread,
Jun 12, 2008, 5:49:04 AM6/12/08
to amster...@googlegroups.com
Hi All,

I'm having trouble finding a simultaneous multiple file upload tool that works with restful authentication. I've found SWFUpload, which is exactly what I'd like to use, but have not had any luck getting it to work with restful_authentication plugin. Has to do with the fact that flash doesn't pass session information with upload request to create action, so the upload fails. More here:

http://blog.airbladesoftware.com/2007/8/8/uploading-files-with-swfupload


Does anyone have experience with multiple file uploads?

--
-= Jason

Justin Halsall

unread,
Jun 12, 2008, 7:27:50 AM6/12/08
to amster...@googlegroups.com
Hey Jason,

That article should have everything you need to make it working (I also used that article to get it working). 
It also describes how you can use the hack to pass session to flash.
There is also a screencast available on the subject: http://vimeo.com/906589

Good luck,
Justin Halsall

Harm Aarts

unread,
Jul 5, 2008, 6:12:11 AM7/5/08
to amsterdam.rb
Jason,
Restful_authentication should work fine with sessions and swfupload.
But HTTP Basic Authentication, the fallback in restful_auth, does
_not_ work with swfupload as flash is (was?) unable to pass the
correct HTTP headers.

Luck!

Harm
Reply all
Reply to author
Forward
0 new messages