I have an action that generates a csv file and then opens the link …
On Chrome it downloads the file into the Download directory. On Safari it just opens the file in a new tab. Is there something I can do to make Safari do the download. Thinking changing the link in some expression and then using it. It would be ideal if I did not have to do a case statement on the browser type.
Maybe, It does open a tab that shows the contents of the file. On an iPhone it does nothing.
I think I might have to wrap it in some html. Which I have no idea how to do!
Related to the original post, these files get created, use some disk up somewhere. How does Glide know when to get rid of them. If I clear the link after I am done does it remove them from storage.
Thanks. I did learn this for Safari. As an example it opens a tab with this:
If you right click on the page anywhere Safari will put up a menu that allows you to save the page. You do this and it saves it in a csv file. Weird but a work around for now.
It’s a Safari thing. They don’t allow direct downloading, you can only right click and select “Download Linked File” as far as I aware. Not even <a> tag with download attribute works.
I have tested it on my iPhone again, i had the code clearing the link and so I put a wait prior to the clear and now the phone lets me open it in excel or alternatively it will let me share it. Perfectly acceptable now.
The iPhone works properly. I thought I had tried the iPhone with the code that I posted above and it never worked (but who knows sometimes the brain just flows itself ). This code