Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
//Code generated according to input schema and output schema
if(input_row.date.length()==5){ //like: 11301
output_row.basename = input_row.basename;
output_row.date = TalendDate.parseDate("Mddyy",input_row.date);
}
else{ //the length of date is 6, like 111209
output_row.basename = input_row.basename;
output_row.date = TalendDate.parseDate("MMddyy",input_row.date);
}
((String)globalMap.get("tFileList_1_CURRENT_FILE")).substring(0,((String)globalMap.get("tFileList_1_CURRENT_FILE")).lastIndexOf("."))
You have to change the file type in the components setting to Binary from Ascii...
however there are no options for "Binary | Ascii" in any of the Java FTP controls. There is only 'mode' (passive vs. active).
Hello
however there are no options for "Binary | Ascii" in any of the Java FTP controls. There is only 'mode' (passive vs. active).
The option is on tFTPGet component, so now only use tFTPGet to test if you can get the file to local machine.
Best regards
shong