multipartUpload() 공개 메소드

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
리턴 mixed
예제 #1
0
파일: S3.php 프로젝트: Webiny/Framework
 /**
  * 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.
  *
  * @param     $bucket
  * @param     $key
  * @param     $sourcePath
  * @param int $concurrency
  *
  * @return mixed
  */
 public function multipartUpload($bucket, $key, $sourcePath, $concurrency = 1)
 {
     return $this->instance->multipartUpload($bucket, $key, $sourcePath, $concurrency);
 }