Closed ils-miteshs closed 5 years ago
I had tried multiple approaches but still not able to download the private object of GCP bucket. I am using below-given code for download. I required to achieve the force download of objects.
code : $image='hub/'.$image_name; Storage::disk('gcs')->download($image);
Simple on controller use return Storage::disk('gcs')->download($image);
I had tried multiple approaches but still not able to download the private object of GCP bucket. I am using below-given code for download. I required to achieve the force download of objects.
code : $image='hub/'.$image_name; Storage::disk('gcs')->download($image);