Written by

Question Touggourt · Apr 1

S3

Hi Guys,

Not sure what I'm missing here, I'm using to download files that starts with MTC_88 from S3 bucket using AmazonS3 inboundAdapter as below, but I'm not getting anything and I'm sure there thousands of files that starts with MTC_88 

and the log is not getting any errors?

Thanks

Product version: IRIS 2024.3

Comments

sween · Apr 1

from the screenshot, looks lke you need MTC_88* in the BlobNamePattern field, not the prefix.  The prefix is essentially a key (folder), and the BlobNames are the objects.
currently you are looking in s3://MTCbucket/MTC_88/

0
Touggourt  Apr 1 to sween

I've changed the search criteria to BlobNamePattern  field it as attached, and still not getting anything.
 

Currently if I use this code works, but not the above API setup!?

set file="/Persistent/Credentials"
        set endpoint="https://s3.amazonaws.com
        tStatus=""

      res.DownloadBlobToFile("MTCbucket","MTC_88667","/archive/MTC_88667_archiced.json")
       

0