uwe_keim asks if it is possible to replace an uploaded executable file in a Discourse topic with a new version while preserving the original URL, ensuring that external links remain functional. tobiaseigen responds that this is not possible, as Discourse does not allow uploading files while retaining their original filename. They suggest uploading the file to an external location and linking to it from the forum instead. Alternatively, Falco proposes using a permalink managed at /admin/config/permalinks. By linking the topic to this permalink, the user can update the file and simultaneously update the permalink target, effectively achieving the desired behavior of keeping the link stable for users.
I have a topic in my Discourse forum that contains an upload link.
This is an executable file that I would like to update with a newer version, without changing the URL, so that any existing external links remain functional.
Hi Uwe! No, it’s not possible to upload files to Discourse and keep their original file name. You’ll want to upload it elsewhere and link to it from your forum.
Put a permalink (managed at /admin/config/permalinks) to the upload on the topic. When you update the file, also update the permalink and you can get the behavior you need.