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

TFTPPut - delete the warning of file not exist

Hello all,

I'm with an issue, I have to masks in FTP PUT, but if one of them doesn't exist the job returns an error "No match file exist!", but don't want that. 

 

Anyone can help me?

Thanks

Labels (3)
1 Solution

Accepted Solutions
nivedhitha
Creator III
Creator III

@esilva ,

 

okay I think I get your problem.

try adding a tFileList with those two masks you mentioned (make sure 'generate error if no file found' is unchecked) and connect to tFTPPut on iterate link and under file mask of tFTPPut, give the CURRENT_FILE global variable of tFileList.

 

Let me know if there are problems

View solution in original post

4 Replies
nivedhitha
Creator III
Creator III

Hi @esilva ,

 

Can you try adding a tFileExist component before your tFTPPut and connect to it on 'If' condition (

((Boolean)globalMap.get("tFileExist_1_EXISTS"))==true

)

If the file doesnt exist ,do not even execute the FTPPut component.

 

Anonymous
Not applicable
Author

Yes, but in the mask I have two lines:

"*VR*" and "*null*"

and one of them exists always, but the null sometimes doesn't exist. 

 

there are any way to do it at once, because to use the fileexists I have to create another FTPPut

nivedhitha
Creator III
Creator III

@esilva ,

 

okay I think I get your problem.

try adding a tFileList with those two masks you mentioned (make sure 'generate error if no file found' is unchecked) and connect to tFTPPut on iterate link and under file mask of tFTPPut, give the CURRENT_FILE global variable of tFileList.

 

Let me know if there are problems

Anonymous
Not applicable
Author

Thanks, that works...