Regarding Upload on s3 in different folder apart from root

mohammed.shamim
mohammed.shamim Posts: 35 🧑🏻‍🚀 - Cadet

Hi,

I m facing one issue. I have using configuration like TestFileSystemConstants::FILE_SYSTEM_S3_ORDER_DOCUMENTS => [ 'sprykerAdapterClass' => Aws3v3FilesystemBuilderPlugin::class, 'root' => '/', 'path' => '/', 'key' => getenv('S3_ORDER_DOCUMENTS_KEY'), 'secret' => getenv('S3_ORDER_DOCUMENTS_SECRET'), 'bucket' => 'capita-staging-order-documents', 'version' => 'latest', 'region' => 'eu-central-1',],

its working fine to upload the order document in root but i need to upload it in different folder for a new process , i tried to used like TestFileSystemConstants::FILE_SYSTEM_S3_ORDER_DOCUMENTS => [ 'sprykerAdapterClass' => Aws3v3FilesystemBuilderPlugin::class, 'root' => '/', 'path' => '/test', 'key' => getenv('S3_ORDER_DOCUMENTS_KEY'), 'secret' => getenv('S3_ORDER_DOCUMENTS_SECRET'), 'bucket' => 'capita-staging-order-documents', 'version' => 'latest', 'region' => 'eu-central-1',],

but it still upload in root location in s3 bucket!

Comments