-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uploadAsync not working #3
Comments
Sample code:
|
Try $promise = Yii::$app->get('bucket')->getClient()->uploadAsync(
$bucket,
$filename,
$source,
$acl,
['concurrency' => 5, 'part_size' => 1073741824]
); If the problem persists: $promise = Yii::$app->get('bucket')->uploadAsync(
$filename,
fopen($path_to_file, 'r+'),
$concurrency,
$minPartSize
); The problem remains? |
I just had the same issue, the second solution works ok, thanks! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Earlier we are using mulitpart form upload which is going to be deprecate. So we switch to UploadAsync method to upload image to S3 but its creating empty file with no content - image file only have source file path in it. Kindly guide
The text was updated successfully, but these errors were encountered: