mercredi 21 février 2018

Laravel S3 File get contents

Inside of my Laravel application inside of my job class I have the following code. On my live server this code runs just fine however on my local I get an error and not sure what I need to do to fix this problem. Has anyone been able to solve this with using the AWS S3 file driver for Laravel?

Storage::disk('s3')->put($path, file_get_contents($this->url), 'public');


file_get_contents(http://webapp.dev/storage/uploads/folder/folder/folder/imagename.jpeg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire