Solved

Problem with TEmbeddedWB and downloading a file

Posted on 2011-02-27
1
609 Views
Last Modified: 2012-05-11
Hi experts,

I am using Delphi 2010 on Windows 7.

I am using the simple download demo that comes with embeddedwb. I want this same functionality in my application.  In the demo, when the user choices to download a file from the Internet, no save dialog appears. I want the same functionality.

There is a site that my application must retrieve a xml file. The user clicks on a button on the site..  In this case the button calls the post action of FORM METHOD=POST ACTION="merge_files.php".  Apparently the php file runs a query and creates the xml file.

The demo program downloads the php file instead of the xml file.If you use the IE download it brings up a save dialog window that I do not want.  From within my Delphi app, I want to save the fie to a folder of my choice.

What do I need to do in order for it to download the xml file and not the php file? Maybe it cannot be done.
Thank you,
Lee Mc Cauley
0
Comment
Question by:profitsource
1 Comment
 
LVL 5

Accepted Solution

by:
wd123 earned 500 total points
ID: 34996086
use OnFileDownload , read more at http://www.bsalsa.com/forum/showthread.php?t=1038
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question