download data from s3 and save to local disk laravel

Solutions on MaxInterview for download data from s3 and save to local disk laravel by the best coders in the world

showing results for - "download data from s3 and save to local disk laravel"
Elina
12 Feb 2018
1 $s3_file = Storage::disk('s3')->get(request()->file);
2 $s3 = Storage::disk('public');
3 $s3->put("./file_name.tif", $s3_file);
4