Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ath
Contributor
Contributor

How to check if a file exists in s3 bucket

Hi All,

 

My current scenario is getting the file name from SQS, and fetch that file from one s3 bucket location and load into another s3 bucket location. I am able to do this without issues. But when the file is not present in the source S3 location, the job (ts3Get) fails with error file not found. I would like to add a check for file existence and use if condition to tackle this scenario. However i couldn't figure how to check for the existence of file. Is there a component similar to tFileExist for s3 which can perform this. 

 

Appreciate all the responses.

 

Thank you

Labels (1)
  • Other

1 Reply
akumar2301
Specialist II
Specialist II

Try tS3List with exact key name of tS3get key name