Laravel Vapor - sync code for download files in bulk from S3 to more files

This commit is contained in:
Dillon Ngo
2024-04-27 12:31:37 +08:00
parent 69f939ad99
commit e97515ab9f
@@ -67,6 +67,10 @@ class BulkDownloadSupplierWhiteFormsLogic
}
$zip->close();
$filePathForS3 = 'bulk_whiteform/'.$zipFileName;
Storage::put($filePathForS3, file_get_contents($zip_file), 's3');
Log::info('BulkDownloadSupplierWhiteFormsLogic finished processing files count: '.count($groups));
return response()->download($zip_file);
}
else {