getTemporaryUrl() won't directly download in anchor tag #2167
Unanswered
thejacer87
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to directly download the file from s3:
<a href="{{ URL::url($file->getTemporaryUrl(Carbon::now()->addMinutes(static::URL_EXPIRATION_MINUTES)) }}" download>
when i click it, it opens the file in a new page request.
i want it to directly download like the
download
option in the<a>
impliesBeta Was this translation helpful? Give feedback.
All reactions