I am developing a talend job with tFTPGet to fetch a file. When i try to run the job in to test out the code, a error is reported . How do i see what the exact error is to fix this?
You need to use the error message of the TFTPGet component in a user code component:
The code of TJava will be executed only if the TFTPGet failed, you can use this line of code:
System.out.println(((String)globalMap.get("tFTPGet_1_ERROR_MESSAGE")));
Then you will see the error message in your console.