AnsweredAssumed Answered

RTCS HTTP Server: How can I set the file name of a dynamically generated (CGI) file in MQX 4.1?

Question asked by dmitriyc on Dec 5, 2014
Latest reply on Dec 9, 2014 by dmitriyc

Hello,

 

I am generating a file for download using a CGI function. I found that you can set the file name of the download by modifying the response header. See:

Four Tips for Setting up HTTP File Downloads | HttpWatch Blog

 

However, according to this thread:

MQX 4.1 HTTPSRV: How to modify the reponse header?

you can no longer manually modify the header.

 

I'm thinking of modifying he HTTP server code if worst comes to worst, but is there a cleaner way of achieving what I want to do?

Outcomes