n8n doesn’t support “real” S3 folders, so I’d advise against this if possible. This came up previously as a possible problem and while I suggested addressing this, it never made it onto our roadmap unfortunately.
That said, you can technically include folder-like structure in your upload operation, for example like so:
This will show up as a folder in your S3 console:
The content is also listed as expected: