AWS SDK ListObjects returning 'folders' of 0k? Did you FTP to S3....

Posted by Matt Bryson on 28-Feb-2014 19:17:47
Find me on:

Recently discovered that using an FTP client, such as cyberduck, creates empty keys in S3.

When uploading, it must create the notion of a 'folder' by creating an empty key for the folder path.


So uploading an object with the key


with the S3 SDK, would create one object, with the key of the same name.



However, cyberduck appears to create the following keys


All the 'folder' objects are 0k, so you might need to filter them our when trying to list files in an S3 bucket.


Topics: S3

About the author

Matt Bryson is an experienced systems engineer with over 15 years Development and Systems Operations experience.

NEW - Free eBook

Transforming your eDetail process. Click below to download the eBook.

New Call-to-action

Subscribe to Email Updates

Recent Posts