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: 
Anonymous
Not applicable

tFTPFileExist and run if

Hello
I wish to use the tFTPFileExist component for testing the presence of a file on a ftp before trying to download it.
I found on this board how to know the number of files downloaded with the tFTPGet component ( ((Integer)globalMap.get("tFTPGet_2_NB_FILE")).equals(1) ) but I don't know how to write the condition with the tFTPFileExist, I didn't find the variable who tell us if the component found the file or not.
Is their a documentation with the "variables" (NB_FILE, ...) of this sort of component ?
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hello
Use the global variable: (boolean)globalMap.get("tFTPFileExist_1_EXISTS"). In any text field, press CTRL+blank space, you will see a list of global variables.
Best regards
shong
Anonymous
Not applicable
Author

Thanks, it works.
It'll be easier the next time with the "ctrl + blank space"