AnsweredAssumed Answered

How to send filename of a zip file between two atoms?

Question asked by umar.yasin919547 on Jan 8, 2018
Latest reply on Jan 9, 2018 by mmorthala189353

Hi All,

 

As part of my project, Ihave to send a zip file from an on-prem atom to a cloud atom via a HTTP call before depositing the zip file into an AWS S3 bucket.

 

I have managed to send the zip file to S3 without any problems (with a static name to test) but would like to be able to extract the filename from the zip file so that I can create a directory in the bucket with that name:

 

E.g. (on-prem) xyz.zip --> (sent to cloud atom) --> S3 bucket/xyz/xyz.zip

where xyz is an actual file name which can change depending on what is being picked up.

 

I am not sure on how this is possible. Do we have to set it as a HTTP header with the filename or is it via data process? 

 

Any help would be greatly appreciated.

 

Kind Regards,

 

Umar

Outcomes