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

FTPFileExist

Hi,
I cannot get this component to work.
I am 100% sure the file that i am looking for exists in the directory but nothing gets returned.
The ((Boolean)globalMap.get("tFTPFileExist_1_EXISTS")) just returns nothing at all.
Possible to look for wildcards with this component? (*.*)
Anybody uses this and know of something i can be doing wrong?
Thanx
Evert
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hello
The ((Boolean)globalMap.get("tFTPFileExist_1_EXISTS")) just returns nothing at all.
Possible to look for wildcards with this component? (*.*)

Yes, this global var will be avaliable in the next subjob, eg:
tFTPFileExist
|
onsubjobok
|
tJava(System.out.println(((Boolean)globalMap.get("tFTPFileExist_1_EXISTS"))));
Best regards
shong
Anonymous
Not applicable
Author

Thanx.
Possible to check for wildcards (*.*) with this component?
I have tried it but it only returns True if i put in the exact filename.
Cheers
Evert
Anonymous
Not applicable
Author

Hello
Possible to check for wildcards (*.*) with this component?

No, it only support the exact filename, *.extention or filename.* now. You can report a feature on our bugtracker.
Best regards
shong
Anonymous
Not applicable
Author

OK, will do.
Btw, it only supports the exact filename, could not get the filename.* or *.extension to work either.
The latter would have been good enough for me.