Get list of files from a S3 path and upload them to destination path in S3

webMethods CloudStreams 10.15

Get list of files from a S3 path (for example, bucket - S3-nonprod, all files under batch/in/done) and copy all of them to destination path in S3 (for example, bucket - S3-nonprod, all files copied to batch/out/done)

I am able to do following in designer.
1)Cloud connector service to get file by objectname
2)Cloud connector service to put object
3)Flow service to connect output of get file to input of put object.

My questions
1)How to get all files in a folder. Specifying delimiter and prefix show error.


2)How to pass these list of files as input to put object?
3)Are there any best practices around error handling for use cases like this?

Hi,

can you provide the complete outline of the flow, please?

Are there any Fixes applied to this instance?
Sounds like a Java version mismatch for me.

You can use listFiles to get a list of files in a specified directory and pass this list to a loop in the flow, where you are retrieving the files one by one from the source and put them to the target.

Regards,
Holger