Problem with TEmbeddedWB and downloading a file
Posted on 2011-02-27
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.
Lee Mc Cauley