FTPFileExist

Four Stars

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
Four Stars

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
Four Stars

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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog