U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Http file download question
Re: Http file download question [message #36536 is a reply to message #36529] Tue, 05 June 2012 23:02 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Mirek: Thank you. maybe I'm wrong.

Koldo: if I understood you correctly, you want to download a file from a server. You want to make the sever to communicate with browser for downloading a file. If yes, then I think you should put in response header package tags (you missed):
1. Content-Type: more detaild is described here
2. Content-Disposition:attachment; filename="<wanted file name for save>"
3. Content-Length: <your file length>

Let me know if I'm wrong.

Sorry for confuse you if I was.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Set thread priority for linux
Next Topic: [Solved]Can't show favicon.ico in Skylark if root path is not Null
Goto Forum:
  


Current Time: Thu Jun 11 23:45:29 GMT+2 2026

Total time taken to generate the page: 0.01074 seconds