Six Stars

Loading all files into S3

I am trying to load all files (example 4 files in a folder )in the folder into S3 as below , but it is only loading the last file as 4 times into the s3 . How can i achieve loading all 4 different files into the S3 

1.PNG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Employee

Re: Loading all files into S3

@Karuetl , why dont you link tFilelist->iterate->tS3Put (use file name of tfilelist variable in tS3Put dynamically) .I dont see any value addition of 3 iterate links (loop under loop under loop) ..not required.

3 REPLIES
Forteen Stars TRF
Forteen Stars

Re: Loading all files into S3

Hi,
Because tJava is executed first and only once for the subjob. So, based on your job design, this is a normal behaviour.
Can you detail the steps you try to achieve with this job?

TRF
Employee

Re: Loading all files into S3

@Karuetl , why dont you link tFilelist->iterate->tS3Put (use file name of tfilelist variable in tS3Put dynamically) .I dont see any value addition of 3 iterate links (loop under loop under loop) ..not required.

Six Stars

Re: Loading all files into S3

Yes i have used logic as  tFilelist->iterate->tS3Put 

 

Thanks all