Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
@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
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.
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
@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
Thanks, that works...