I have a WebBroker App that returns a file thru a TWebAction. It does so by pointing to the following link:
The program then generates the file from a DB field and returns it. The problem is that, when the Save to Disk windos appears it shows the file to save as "WebActionName" instead of "FileName".
How can I make the file to be returned with the right name?
Response.ContentStream := SomeStreamWithTheFileInsid
Response.ContentType := 'application/octet-stream'