?
Solved

Problem with TEmbeddedWB and downloading a file

Posted on 2011-02-27
1
Medium Priority
?
634 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 2000 total points
ID: 34996086
use OnFileDownload , read more at http://www.bsalsa.com/forum/showthread.php?t=1038
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

809 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