Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm doing a SCPGet to a server using a public key. The problem i'm having is only the LAST FILE in the directory is being copied to my local server.
What setting is wrong
FTPTCPIP.00G0200.txt
FTPTCPIP.00GV100.txt
FTPTCPIP.00G0500.txt
FTPTCPIP.00G0600.txt
FTPTCPIP.00G0100.txt
FTPTCPIP.00G0180.txt
The current scenario is:
tSCPConnection --- OnSubjobOk --- tSCPFileList --- Iterate --- tIterateToFlow --- main --- tSCPGet
The Filelist in tSCPFileList
"cd /tmp/Talend/"
"ls *.txt"
The tIterateToFlow is
Column Value
filename ((String)globalMap.get("tSCPFileList_1_CURRENT_LINE"))
The Filelist in tSCPGet
"/tmp/Talend/"+((String)globalMap.get("tSCPFileList_1_CURRENT_LINE"))
/tmp/Talend/ is the directory path on the ftp server
Any advice