Action::download()->deleteFileAfterSend(true); #4477
Unanswered
RealityGamin
asked this question in
Ideas & Feature Requests
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Can we please implement:
return Action::download(storage_path($fileName))->deleteFileAfterSend(true);
Especially when we can pull from storage rather than a public path?
From Laravel:
return response()->download(storage_path($fileName))->deleteFileAfterSend(true);
Without us having to do a hacky request to a controller/cronjobs please :)
Beta Was this translation helpful? Give feedback.
All reactions