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)