When I use ruby, I’m able to use a “send_data” call which pushes/streams a file to the browser and forces the browser to render the file as an attachment. It’s independent of the url where the file is located, and the user actually never sees a url.
I’m trying to make this happen in Bubble and can’t seem to do so. I know how to make a file URL available for download, but I’m actually trying to generate a unique link that would have the following functionality:
I know YOU’RE not trying to do this, Saeed, but I figured someone else might find that previous tip helpful.
As for myself, I need to serve up a file based on directly from Bubble (issue being that I’m using the API File feature to generate some .ics files that get updated regularly – and since you can’t store the file with the same URL [it’ll always be different], I can’t just use the s3 URL as the location of “the file” is always different when its been updated – and external Calendar apps are not happy with any of the redirect techniques currently available to us in Bubble.)
Anyway, @marca suggested emailing support about this isse.