Fuandi 0 Posted August 3, 2021 Hi all, Currently i'm able to upload a file from my local drive to amazon s3 bucket. But when I want to upload it into the folder inside the bucket, it will give me error. Anyone can help ? let say the bucket name is bucket1 and the folder inside that bucket is folder1 I tried this Service.UploadObject('bucket1/folder1', ExtractFileName(fileName), bytes, TRUE, nil, nil, amzbaPrivate, info); Share this post Link to post
EugeneK 19 Posted August 3, 2021 Hi Bucket name is different from folder name, you have to call it as Service.UploadObject(bucketName, folderName + '/' + objectName, ... 1 Share this post Link to post