how to use tFTPList with tFileInputDelimited

One Star

how to use tFTPList with tFileInputDelimited

Hi,
I'm a new user w/ TOS
I'm trying to read all the csv file from a ftp directory using a tFTPList---tFileInputDelimited--tMap---tMSSqlOutput
in the tFTPList i put my directory context.ftp_repertory , in the tFileInputDelimited i put ((String)globalMap.get("tFTPList_CURRENT_FILEPATH"))
if i execute i have this error:
Exception in component tFileInputDelimited
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sigadem.Job_0_1.tFtpList.tFTPList_17Process(tFtpList.java:2312)
at sigadem.Job_1.tFtpList.runJobInTOS(tFtpList.java:3683)
at sigadem.Job_1.tFtpList.main(tFtpList.java:3578)

can someone help?
thank you
One Star

Re: how to use tFTPList with tFileInputDelimited

I would suggest you download the file first (one additional step with tFileFetch) before opening it with tFileInputDelimited. I think tFileInputDelimited does not support remote addresses.
One Star

Re: how to use tFTPList with tFileInputDelimited

Whoaaaa, where are you seeing tFTPList? Because I'm looking for a component like that right now, and can't find it Smiley Sad
All I see in the Components list (http://www.talendforge.org/components/) under Internet/FTP are:
tFTPDelete
tFTPGet
tFTPPut
tFTPRename

Ooooh, its in the Ecosystem...
tFTPList: http://www.talendforge.org/ext/extension_view.php?eid=54
tFTPGetFile: http://www.talendforge.org/ext/extension_view.php?eid=55
When will that be pushed out to TOS and TIS 2.4.1???
One Star

Re: how to use tFTPList with tFileInputDelimited

4746
4745