#1 2009-11-06 08:36:28

EvertDJ
New member
Registered: 2009-10-28
Posts: 7

FTPFileExist

Tags: [filemask, ftp]

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


Uploaded Images

Last edited by EvertDJ (2009-11-06 08:37:34)

Offline

#2 2009-11-06 09:51:49

shong
Talend team
Registered: 2007-08-29
Posts: 10353
Website

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


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2009-11-06 10:08:30

EvertDJ
New member
Registered: 2009-10-28
Posts: 7

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

Offline

#4 2009-11-06 10:12:23

shong
Talend team
Registered: 2007-08-29
Posts: 10353
Website

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


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#5 2009-11-06 10:19:25

EvertDJ
New member
Registered: 2009-10-28
Posts: 7

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.

Offline

Board footer

Powered by FluxBB