Skip to content

Maintaining folders on buckets #22

@brendo

Description

@brendo

I'm just wondering if anyone has used this extension to allow the fields to upload files into a nested folder structure on the bucket? As I understand, this field currently uploads all files into the root of the bucket.

My client requires that images go into an /images folder on the same bucket as files (which would live in /files folder). It seems to be a simple file naming convention which allows the files to be displayed a traditional folder structure via the AWS console, the file just needs to be uploaded with the 'folder' prefixed to the filename.

I'm thinking of enabling this just by having an additional setting on the field which prepends the value to the file upon upload, eg. '/images' would be added to beach.jpg to allow it to live in http://s3.amazonaws.com/{bucket}/images/beach.jpg

Has anyone does this before (happy to merge rather than develop from scratch) :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions