Author: sstolp | Posted on: 12/16/2008 5:57:17 PM | Views : 389

Hello All.

I truly hope someone can help with this issue.

Currently, I have a function that reads the contents of a directory, and then converts that fileinfo into a json object for return.  It works flawlessly.

However, my client now wants to move all the images (there are quite a lot, so I do understand why he wants to do this) to Amazon s3.

So my question is, how do I "read" the contents of an Amazon s3 "directory" within my Amazon bucket? I do understand that directories created in an s3 bucket are not actually directories, but objects. Nevertheless, I can have endless objects and only 1000 buckets, and I will run out of buckets if I don't use "directories" within the bucket.

Here is my code which is currently working:

Public Function GetThePics(ByVal mySKU As String) As String
        Dim DataDirectory As String = "~/Images/products/" + myS ...

Go to the complete details ...