Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to retrieve several files on a remote server by using a text file which contains the list of files to retrieve.
So I've put tFileInputDelimited and tFTPGet components in my job.
My tFileInputDelimited component contains a single column named filename.
Then I've set the filemask property of tFTPGet component with the following value : row4.filename (row4 is the name of the link between my 2 components)
Unfortunately, it does not work, I always have a "java.lang.NullPointerException" error and no information about where is the problem ?
Which value must I set in filemask ?
Any suggestion ?
Thx !
It is because tFileInputDelimited would search for the particular file in the job server. So for that use tFileList to list down all the files fetched from the FTP server. Your job flow should be as below -
tFTPList (iterate)-------> tFTPGet
OnSubjobOk
tFileList (iterate)------->tFileInputDelimited (Use Global Variable of tFileList)---->tIteratetoFlow---->tLogRow