Skip to main content

I am working on FME 2019 in windows. I want to upload a folder on S3 bucket but do not want the parent folder to be included. Be like:

C:\\abc\\xyz\\mno.zip, C:\\abc\\xyz\\nbc.zip - these zip files to be uploaded to

Amazon S3\\abc\\prt

and the data should be replaced with the new one(the old data exit in the folder on S3.

But, when I say upload the folder, it is like- Amazon S3\\abc\\prt\\xyz\\mno.zip, Amazon S3\\abc\\prt\\xyz\\mno.zip

and I want it to be like- Amazon S3\\abc\\prt\\mno.zip

So, basically no parent folder in between. Also, if I select data source to upload to file, I can only upload 1 file, not multiple.

Any options to upload multiple files? Or to upload the folder but not including parent folder.

Thanks.

 

 

I think you can use the Directory and File Pathnames (PATH) Reader to retrieve file paths in the "C:\\abc\\xyz" folder, then use the S3Connector to upload the files into your desired S3 folder, one by one.


Reply