Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

download data from s3 and save to local disk laravel

 $s3_file = Storage::disk('s3')->get(request()->file);
 $s3 = Storage::disk('public');
 $s3->put("./file_name.tif", $s3_file);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #download #data #save #local #disk #laravel
ADD COMMENT
Topic
Name
1+8 =