Is it possible to upload a file using Ajax ? Reason

Answer Posted / jay

reason why you cant (actually you can, if you specifically
set that option in Firefox) upload by just using AJAX is
that if it was possible, some malicious code could be
sending any files through ajax from your disk without your
knowledge, which would be a huge security issue.
isntead, you're using FORM posting for that.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we get the state of the requested process? : asp.net ajax

734


What is the purpose of xmlhttprequest?

718


Can I use asp.net ajax with any other technology apart from asp.net?

699


What are synchronous and asynchronous ajax requests?

679


Is it possible to use fileupload control within the update panel?

648


Won't my server-side framework provide me with ajax?

701


How can javascript be debugged?

689


What are the benefits of ajax?

709


Which request is better with ajax, get or post?

665


What are the properties of xmlhttprequest?

733


Is the server or the client in control in ajax?

720


Can we call server-side code from javascript? : asp.net ajax

740


What are the new controls introduced in asp.net ajax control toolkit? : asp.net ajax

638


What parts of the html_ajax api are stable?

708


What javascript libraries and frameworks are available?

771