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: 
Anonymous
Not applicable

tFTPPut component's status incorrect when using FTPs

We have a client that requires file delivery by FTPs. We have the job working just fine (connection established using SSL, file is transferred, etc.) using Talend 6.1.1 BUT I have noticed that the status of the tFTPPut component is "No file transfered.". The file is most definitely transferred (it's on the remote side, has the correct content, permissions, etc.). So it seems like the tFTPPut component is reporting the incorrect status when using an FTPs component.

We use a tJava component to raise an exception if there are errors but because of this issue with tFTPPut we've had to add that error message to the list of success codes thus:

String current_status = ((String)globalMap.get("tFTPPut_1_CURRENT_STATUS")) ;

if (!current_status.equals("File transfer OK.") && !current_status.equals("File rename OK.") && !current_status.equals("No file transfered.")) {
    throw new Exception("FTP exception: FTP transfer failed with status: " + current_status);
}

...which just doesn't seem correct. Are others using the tFTPPut with FTPs and is it returning the correct status code?

Cheers,

-Darren

Labels (2)
1 Reply
Anonymous
Not applicable
Author

It is actually a nightmare if developers have to dig the possible return messages from the job code. This component needs a complete redesign.