When I am getting current File Name of tFTPFileList. It is returning together with file details. How to get only file name?
context.ftpCurrFileName = ((String)globalMap.get("tFTPFileList_1_CURRENT_FILE"));
The above code is returning as following:
-rwxrwxrwx 1 0 0 5935 Jul 24 10:27 1.xml
-rwxrwxrwx 1 0 0 4580 Jul 24 10:27 2.xml
Solved! Go to Solution.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables