Sitefinity / amazon-s3-provider

Amazon S3 provider for Sitefinity
8 stars 10 forks source link

Error when moving Library to S3 storage and deleting #4

Closed nexuschurch closed 9 years ago

nexuschurch commented 9 years ago

When you try to move a library to the S3 storage provider or when you delete a object that is residing in S3 you get an error:

Method not found: 'System.IAsyncResult Amazon.S3.IAmazonS3.BeginDeleteObject(Amazon.S3.Model.DeleteObjectRequest, System.AsyncCallback, System.Object)'.

VesselinVassilev commented 9 years ago

Try using this in the Delete method of the provider:

transferUtility.S3Client.DeleteObject(request);

bonny-bonev commented 9 years ago

Fixed for Sitefinity 8.2