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 #36513 is a reply to message #36383] Mon, 04 June 2012 02:58 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Hi Koldo,

Welcome to web development.
When you reply to server, you have to add in response package header the correct mime type and 'Content-Disposition: attachment;'

for more details you can find on Wikipedia website.

Also very good lessons you can take from Node.JS + Connect and Express.JS packages.

I had a requirement to tell to client that it should be downloaded with a specific file name.

I hope if this a solution what are you looking for!

Update: Would you like to implement this job on client side or on server side?

[Updated on: Mon, 04 June 2012 03:08]

Report message to a moderator

 
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: Fri May 15 20:35:32 GMT+2 2026

Total time taken to generate the page: 0.00536 seconds