Wowza Community

S3Upload to directory

Hello.

I’ve configured the module to upload the streamings to my s3bucket, but they appear in the root folder.

Is there any posibility to choose the folder where they appear?

Kind Regards.

Hello @José Mestre

You cannot specify a path/subfolder using that same property as the S3Uplaod module will attempt to upload the video file into an S3 bucket named “myS3bucket/subfolder”.

S3 buckets do not have a directory tree system, you will need to use forward slashes in the file names to order the files; so if you save the file to bucketName/path/to/myFile.mp, it should (theoretically) save it to this “folder”.

http://docs.aws.amazon.com/AmazonS3/latest/UG/FolderOperations.html

Amazon S3 has a flat structure with no hierarchy like you would see in a typical file system. However, for the sake of organizational simplicity, the Amazon S3 console supports the folder concept as a means of grouping objects. Amazon S3 does this by using key name prefixes for objects.

Here’s a link to the sample code, in-case you need to make edits for your workflow needs:
https://github.com/WowzaMediaSystems/wse-plugin-s3upload

Regards,

JasonT