How can i storage the file in a specific folder? #176
Answered
by
CesarObedFL
CesarObedFL
asked this question in
Q&A
-
the file generated by the dump is stored in the root of the project and I don't know how can i change the path |
Beta Was this translation helpful? Give feedback.
Answered by
CesarObedFL
Aug 31, 2022
Replies: 1 comment
-
if anyone need this we can use the php function 'rename( $filename, 'storage/app/public/database_backups/'.$filename );' and place the file in a public folder and from there downloading it in your laravel command class
in your web routes file
in your controller
in your view
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CesarObedFL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if anyone need this we can use the php function 'rename( $filename, 'storage/app/public/database_backups/'.$filename );' and place the file in a public folder and from there downloading it
in your laravel command class