I have an embedded system with a web server Mongoose, I have to allow the client to download some log files generated at runtime, I have a problem during the download, in practice, the browser first downloads the file and then asks where to save the file . The behavior is unpleasant because the download takes a few seconds and the client does not understand what's going on. Is there any option, for example, in the header of the file, to force the browser to ask before making the download where to save the file?
Thanks.