vendredi 3 février 2023

Laravel copy and move not working with large file(10GB) with s3

Small files (up to 1 GB) are successfully transferred but large files return false on the move and copy functions.

both functions should work correctly for large files as well.

My code

try {
       //dd($param);
       $s3 = Storage::disk('s3');
       $dd = $s3->move($param['source'], $param['target']);
       dd($dd);
    } catch (Exception $e) {
       return [
          "status" => 0,
             "msg" => $e->getMessage(),
         ];
   }


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire