On 29 Dec 2007, at 13:10, YargicX wrote:

> I wonder , could you explain which security reasons?

Javascript has no access rights to the local file system, it's as  
simple as that. So if you want to simulate "ajax" uploads, you have  
to use either the iframe technique (posting your form to an iframe,  
then process the contents of the iframe back to the originating page)  
or a flash based solution such as swfupload (http://swfupload.org).


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to