Dell EMC have an implementation of Amazon S3 I need to try. I have set up a test account, I can log into it using CyberDuck, I have created a new Vault via CyberDuck and placed a sample JPEG into it via CyberDuck.
Now I want to connect to it using the CURLSMBS routines and download the JPEG, so I have adjusted the MBS ‘CURLS Amazon S3 download’ example:
[code]dim AWSAccessKeyId as String = “XXXXXX@ecstestdrive.emc.com”
dim AWSSecretAccessKey as String = “XXXXXX/XXXXXX”
dim Region as String = “object.ecstestdrive.com” 'eu-central-1
dim BucketName as string = “Test”
dim FileName as string = “06_TourDeFrance.jpg”
dim Service as String = “” 's3
dim Path as String = “/” + BucketName + “/” + Filename
dim Domain as String = “” // empty for auto
dim Verb as String = “GET”
dim HashedPayload as String // empty for auto
call d.SetupAWS(AWSAccessKeyId, AWSSecretAccessKey, Region, Service, Path, Domain, Verb, HashedPayload)[/code]
My problem is that it gives the error ‘Could not resolve host: -object.ecstestdrive.com.amazonaws.com’ i.e. it is adding ‘.amazonaws.com’ to my Domain and adding a blank Service. I have tried setting the Domain manually, but it still cannot resolve it since d.SetupAWS( ) must have a non-blank Region.
Has anyone tried this and found a solution?