Super simple question but I’m getting all muddled up. i’m using Ionic 4. CLI 4.5.
I have created a presigned URL in AWS and returned it to my app using http. Now, with this URL, how can I save the file itself to my downloads folder on my PC. I’m talking about running the app in the browser from aws s3. It’s a big nasty data payload, so of zero use on mobile.
Right now I am very very confused at all the contradictory information I’m dredging through… From the documentation File Transfer, cordova file transfer supports the browser, but I’m not sure it does. Several people on forums have said it does not, and when I tried it, it didn’t work (although I’ll stop short of citing that as proof of anything, considering my average success rate with such things)…
Can I present the url as a clickable object on the page that will allow the user to, well… click it. Is there a way I could set the content type of the stored file to initiate a download. The way you download everything else from the internet - you know. It appears in your downloads folder in Windows.
Can anyone share a known approach that will work. It seems like it must be possible, after all it’s a fairly fundamental aspect of interacting with the browser…
If that really isn’t possible. How about allowing me to neatly grab the URL to the clipboard, such that I can paste it into a normal browser and go from there. I don’t care how I get there. I just want to get my file without asking my users to do anything counterintuitive or requiring anything more than average PC literacy.