Solved

Problem with TEmbeddedWB and downloading a file

Posted on 2011-02-27
1
598 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
Comment Utility
use OnFileDownload , read more at http://www.bsalsa.com/forum/showthread.php?t=1038
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now