In case of large files, use the multipartUpload method, so the file is sent in chunks to S3, without the need
to read the complete file in memory.
public multipartUpload ( $bucket, $key, $sourcePath, integer $concurrency = 1 ) : mixed | ||
$bucket | ||
$key | ||
$sourcePath | ||
$concurrency | integer | |
return | mixed |