cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Guidance manipulating files in S3 using Script (Python) snap

dwhansen-cbg
Contributor

I would like to read a file from a S3 bucket, update the file, then write it back to S3. I would like to use the account in SnapLogic I configured for S3 use. Does anyone have an example of any of this they could share?

3 REPLIES 3

christwr
Contributor III

File Reader โ†’ Stuff โ†’ File Writer ?

dwhansen-cbg
Contributor

Basically, yes. I would like to read a file from s3, manipulate it in some way, then write it back to s3.

Hi ,

I usually do it in mapper and setting up the input as binary

I tried achieving it with a single mapper but as soon as I set the output as binary also the $[โ€˜contentโ€™] object becomes missing ๐Ÿ™‚

image

image

manipulate_binary_content_2020_06_07.slp (6.3 KB)