Как загрузить файл на s3? Вот что у меня есть на данный момент:
Контроллер
Код: Выделить всё
//$key = urldecode($key);
//This way found file as .xml but can't get zip file?!
$key = str_replace('.zip', '.xml', $firmware->key);
$test = Storage::disk('s3')->get('db/'.$key);
//dd($test); this get:
FileNotFoundException in FilesystemAdapter.php line 58:
db/Toshiba\07GAH\TOSHIBA MK8007GAH-BG002H0-Y6HNW0EOW.xml*
$data = (array) simplexml_load_string($test) or die("Can't read XML for $manifest");
//dd($data);
//dd($test);
return response()->download('db/'.$data['key']);

Подробнее здесь: https://stackoverflow.com/questions/380 ... s-download
Мобильная версия