vendredi 17 décembre 2021

Cannot store file in storage folder in Laravel

I'm trying to store file in storage folder

 if(!Storage::exists('/public/files')) {
          Storage::makeDirectory('/public/files', 0777, true); //creates directory
        }
 Storage::put('/public/files/test.wav', file_get_contents($blobInput));

but directory and files are not getting created, I have tried php artisan:storage:link

but same issue. Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3qnputB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire