I'm working on a program which backs up some directory and all of it's files into S3. Everything works great, except if I want to create an empty "folder" in S3.
When I'm working in the S3 console, it is possible to accomplish this by pressing the "Create Folder" button, but my problem is when I try to do this using AWSSDK, my folder does not show up because it does not have any contents.
My current approach to this problem is uploading a randomly generated file (0 Bytes) into this empty folder, but this file is not part of the user's files, and doesn't help retain the file after being deleted.
Is there a better approach to creating an EMPTY folder that I am missing?