[twsocket] Sending a file with HTTPSERVER as response

2005-12-06 Thread jurik
Hi All I am playing with the ICS WebServ server demo and need some help. I want to use the user inputs received from form.htm and based on the user responses provide a file to the web client for download. When the user types one in the first name field as example, I want the server to send him a

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread jurik
I have tried the following: ClientCnx.FDocument:='c:\1.zip'; ClientCnx.SendDocument(HttpSendDoc); When I send the request from the browser, the file is displayed in the browser in asci format and the browser does not come up with a save dialog. I dont have a C++ compiler (dont know much