Asked 6 years, 9 months ago. Active 6 years ago. Viewed 13k times. Any help is greatly appreciated. Here's a code sample. Improve this question. Adam Bertram. Adam Bertram Adam Bertram 3, 4 4 gold badges 21 21 silver badges 27 27 bronze badges. Can you post a code sample of what you are using? Add a comment. Active Oldest Votes. Improve this answer. Jeremy F. StephenP StephenP 3, 15 15 silver badges 17 17 bronze badges. Finally, after doing hours of research I found some answer which really worked for me.
Following approach worked for me. Parameter blobObj is the object which needs to be saved with a given name in parameter fileName. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. IE download file Ask Question. Asked 7 years, 3 months ago. Active 2 years, 1 month ago. Viewed 58k times. Improve this question. Why not let the server handle this? What is the purpose of the ajax call?
Sometimes a lower-tech approach is better - because it's not just IE that will have problems! Consider saving the AJAX result on the server or simply making it a normal HTTP request in the first place and having the server set appropriate content-disposition headers. But if you absolutely want this in-browser: github. On the server side I set the specific headers to enforce donwload ,but since this is ajax it has no effect. I do it in ajax because I also need to execute extra code in the response.
Show 1 more comment. Active Oldest Votes. Improve this answer. They don't have a FTP server so I have to use a regular url. Is there a way to bypass that? Your code looks pretty much correct.
The error is either from your proxy or from the remote server, and Fiddler would give you a better idea. WebProxy "proxy. Do you normaly authorize when using the proxy? A admin does not have access by default and automatically.
I would say that you need to make Fiddler work. Configure your browser to use Fiddler as proxy, and then in Fiddler specify to use your normal proxy. Start with no authorization. As you were getting error to start with I think that you should try without first.
Office Office Exchange Server.
0コメント