Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
DominiqueCHEVAL
Contributor
Contributor

TALEND : Check if a file from tFTPFileList exist

Hi, I'll like to check, in output of a tFTPFilelist component, in the file exist using the tFileExist component.
How can I do and how can I parameter the file name to check in the tFileExist component?
Many Thank's !
Labels (2)
5 Replies
alevy
Specialist
Specialist

Just connect tFTPFileList to tFileExist with iterate. In tFileExist File name, delete the contents and press Ctrl+Space, find something like tFTPFileList_1.CURRENT_FILE and select it.
Anonymous
Not applicable

Hi,
Here is online component reference about tFileExist with scenario, hope it will be helpful for your job design.
Best regards
Sabrina
Anonymous
Not applicable

hi all,
don't forget the shortcut 'F1' to have a direct access to properties and scenario for a component.
@Sabrina : it will be great a direct access to talend help online with F1 0683p000009MACn.png
regards
laurent
Anonymous
Not applicable

Hi kzone,
Opening a JIRA issue in the Talend DI project of the JIRA bugtracker for a new feature will be welcomed.
Best regards
Sabrina
DominiqueCHEVAL
Contributor
Contributor
Author

Hi everybody,
Many thanks to everyone, I've built my job with success. The deal was to extract from an FTP Server, the files I don't have in a specific local directory. I've used the context to build the directory and I've agregate this context :
context.directory + "/"+ ((String)globalMap.get("tFTPFileList_1_CURRENT_FILE"))
After, using an RunIf component, I've copied from FTP to my Directory the files which doesn't exists.
Thank you for all, you're wonderful !!