SyncfusionExamples / amazon-s3-aspcore-file-provider

This repo contains the ej2-amazon-s3-aspcore-file-provider to access the file system from amazon-s3 to ej-file-manager using asp.net core
15 stars 26 forks source link

Can't connect with custom service URL #6

Closed exzizt closed 4 years ago

exzizt commented 4 years ago

Unfortunately, the signature of this method does not allow an obvious way on how to connect using a custom service URL. Not all S3 buckets use the default format outlined here: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro

https://s3.Region.amazonaws.com/bucket-name/key name

We need a way to provide a custom service URL, e.g. "xyz.valuename.bc.ca".

void RegisterAmazonS3(string bucketName, string awsAccessKeyId, string awsSecretAccessKey, string bucketRegion);

Any ideas?