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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nmodi
Creator
Creator

Question on tFTPPut Error

 

I keep getting error on tFTPPut even though file gets transferred successfully,

all I am doing is taking certain file from directory-->encrypt it->Upload it to FTP.

eveything gets done fine however I keep getting 'Error! ' on tFTPPut after successful job completion, why that so & how could i catch that?

 

I tried catching that on OnSubJobError trigger & tried capturing error as ((String)globalMap.get("tFTPPut_1_ERROR_MESSAGE")) but I dont get anything there.

FYI - I am fairly new to talend.

0683p000009LvfQ.pngtFTPPUT error

 

 

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

Is there any error message printed on console? Or only error X-mark on tFTPPut component?

We usually open the code tab and see if there has compile error, then, close the job and open it again, the x-mark might disappear.

Let us know if it is Ok with you.

Best regards

Sabrina

View solution in original post

7 Replies
Anonymous
Not applicable

Hi,

Is there any error message printed on console? Or only error X-mark on tFTPPut component?

We usually open the code tab and see if there has compile error, then, close the job and open it again, the x-mark might disappear.

Let us know if it is Ok with you.

Best regards

Sabrina

nmodi
Creator
Creator
Author

It was just x-mark error but there was nothing on console & job was running successfully & doing the work as expected.

 

Anyways, I closing & reopening the talend did the trick.

 

Thanks for your prompt response.

nmodi
Creator
Creator
Author

I have another requirement that I need to send an email with list of the files that got processed once file gets uploaded onto FTP,

 

As of now I am getting email for every file that gets processed, one email for each file.

 

How can i send just one email once all processing is done?

I am updating file names to one temp context variable as they gets processed so I have list of files that got processed. 

0683p000009LvT6.png

 

 

 

Anonymous
Not applicable

Hi,

You should use a "OnSubjobOk" connector between your ftp job and tsendmail component.

Best regards

Sabrina

nmodi
Creator
Creator
Author

If you refer the screenshot for my job, I am using "OnSubjobOk" connector between ftp job and tsendmail component. Any other idea?

 

0683p000009LvhX.png

 

Any other idea?

cterenzi
Specialist
Specialist

Your mail component is part of a string of execution behind an Iterate link.  If you want to send mail once the iteration is finished, you can use an OnSubjobOk link from tFileList to tSendMail.

nmodi
Creator
Creator
Author

that worked perfect. Thanks cterenzi