1. #1
    Ext User
    Join Date
    Jan 2009
    Posts
    543
    Vote Rating
    0
    dbassett74 is on a distinguished road

      0  

    Default How to handle file download on ajax request post?

    How to handle file download on ajax request post?


    Is it possible via an Ajax request post, to have it open a new browser window? Here's what I'm trying to accomplish. Currently, I have a web page that upon posting to it, returns a file, and then the browser does its normal file handling such as asking the user if they want to open or save the file. I want to do this same thing through an Ext Ajax request. But I think (I haven't tried it yet) that the binary info would just get returns within the Ajax request, rather than opening a new window, correct?

    Any help on this would be appreciated.

  2. #2
    Ext User
    Join Date
    Jan 2009
    Posts
    543
    Vote Rating
    0
    dbassett74 is on a distinguished road

      0  

    Default


    Disregard. Seems I already posted something similar before.

    http://www.sencha.com/forum/showthread.php?103338

    I'll continue my post there...

Similar Threads

  1. How to post via AJAX request, and open binary file?
    By dbassett74 in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 6 Jul 2010, 9:15 AM
  2. ajax http post response for download
    By tvik in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 25 Aug 2009, 4:12 AM
  3. Download a file from server using Ajax
    By bhuvhi in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 13 May 2009, 3:49 AM
  4. How to download a file using servlet and ajax request
    By arunpjohny in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 25 May 2008, 8:41 PM