login about faq

Is it possible to upload files to a folder that is inside the S3 bucket?

asked Jan 18 at 10:39

chilkat's gravatar image

chilkat ♦♦
12.8k317363471


See this: http://docs.aws.amazon.com/AmazonS3/latest/UG/FolderOperations.html

An object named with a trailing "/" displays as a folder in the Amazon S3 console.

Therefore, the way to create a folder "xyz" is to create an object named "xyz/".

link

answered Jan 18 at 10:41

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Works great:

objectName =  "/Folder/SubFolder/File.jpg" 
success = http.S3_UploadFile(localFilePath,contentType,bucketName,objectName)

Thanks,

I tried uploading files with diacritical characters (FileÅÄÖ.jpg) but I get a "is forbidden" in the LastErrorText.

I tired uploading the same with Transmit and it worked fine.

Do I need to encode the diacritical characters?

link

answered Jan 19 at 04:55

Danne's gravatar image

Danne
111

Thanks, I'm having a look..

link

answered Jan 19 at 11:47

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

I found the problem and made the fix. What programming language/operating system do you need for a pre-release?

link

answered Jan 19 at 13:49

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Great!

I'm using Xojo.

link

answered Jan 19 at 17:47

Danne's gravatar image

Danne
111

Thanks. This is going to take some time (a day or two). The Xojo build is more difficult because it requires builds on different operating systems. I'll post here when it's ready...

link

answered Jan 19 at 19:31

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

link

answered Jan 20 at 21:41

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Initial tests shows good result :-)

Can I use this prerelease plugin or should I wait for the final release?

link

answered Jan 23 at 08:02

Danne's gravatar image

Danne
111

I think the prerelease is safe to use. The final release is awaiting the completion of the JWS and JWE classes, which is unrelated to AWS S3 functionality.

link

answered Jan 23 at 16:24

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×23
×3
×1

Asked: Jan 18 at 10:39

Seen: 569 times

Last updated: Jan 23 at 16:24

powered by OSQA