Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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