View Full Version : Uploading a file response issue

10 Aug 2010, 5:57 AM
I am trying to upload a file to the server using Ext. The file uploads fine but I am having trouble with the response. It does not seem to matter how i set the response it always seems to get returned as xml if i use a .net web service. I understand this maybe a limitation of a web service as it requires a json request in order to respond with a json response for some reason.

However I then went on to try and do the same with a generic handler (.ashx) file and yet again it does not seem to matter how i set the response it is not handled correctly. In firefox it tries to open the response as a file. My json string is inside this file. In IE i get an error.

Has anyone come across this. I have copied my code from http://dev.sencha.com/deploy/dev/examples/form/file-upload.html

10 Aug 2010, 10:03 AM
IE has serious limitations with iframe uploads. Can you make it just return json text inside of a generic response?