Download Files
Last updated
Was this helpful?
Last updated
Was this helpful?
Users can view/download files from the public folder or from their own folder.
I am using the simple Signed URL mechanism to download the file. This function will create the Signed URL and open that in the new tab.
S3 pre-signed URL is an extremely useful feature. Here we are generating a pre-signed URL that will carry its own access token based on user's access token and that URL can be used to access the file.
Once we generate the pre-signed URL, we are using the URL in the next browser window for the download purpose.