FTPFileExist

One Star

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
Community Manager

Re: FTPFileExist

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: FTPFileExist

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
Community Manager

Re: FTPFileExist

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: FTPFileExist

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.

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads