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

2005-12-07 Thread jurik
No sorry. It is way over my head. Maybe someone have a Delphi example they can share with me. My experience level is simply to low. I want to use Francois Piette's Webserver Demo app to take the user inputs received from form.htm and based on the user response provide a file to the web client for

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

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

2005-12-07 Thread jurik
Hi Thank you for the prompt response. Can you give me a small example on how to use hgSendDoc? I can see it is a flag but I have no idea how to implement it. With a small one line example I will manage to figure it out. Thank you Juri Keyter > Hello, > > You need to use the hgSendDoc which i

[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