Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Parikhharshal
Creator III
Creator III

List all files and put into S3 bucket

Hi Talend experts

 

I am having difficulty when I list all the files and iterate to put them in S3 Bucket.

 

I am using below job design.

 

0683p000009M64X.png

I have got following things configured in tfilelist.

 

0683p000009M7Q6.png

 

I have got following things configured in S3put component:

 

0683p000009M7Nx.png

 

Not sure what's going wrong but it iterates successfully and job runs fine but nothing gets added to S3 bucket.

 

Can you please help me if I am doing something wrong?

 

Thanks

Harshal.

Labels (2)
1 Solution

Accepted Solutions
yome1
Creator
Creator

Hello,

 

I think you need the file name into the key, try this after your landedFileURI

+((String)globalMap.get("tFileList_1_CURRENT_FILE"))

 

Guillaume

View solution in original post

5 Replies
Parikhharshal
Creator III
Creator III
Author

0683p000009M6vR.png

Also when I print the used variables in S3 bucket, it shows me correct value.

Parikhharshal
Creator III
Creator III
Author

@rhall  , @manodwhb , @nthampi  Can you please reply if you can find out something weird?

manodwhb
Champion II
Champion II

@Parikhharshal , Once job is successfully run have you refreshed bucket ? Are you verifying in the right bucket?

yome1
Creator
Creator

Hello,

 

I think you need the file name into the key, try this after your landedFileURI

+((String)globalMap.get("tFileList_1_CURRENT_FILE"))

 

Guillaume

yome1
Creator
Creator

"tFileList_2_CURRENT_FILE" in your case