Five Stars

Trigger on remote folder

hi,

i need to put a trigger on a folder which is located on a remote server.

such that when a file is created in the folder on remote machine , it must trigger a process which is my talend job .

what must be the components and respective flow. 

thanks

5 REPLIES
Fifteen Stars

Re: Trigger on remote folder

When you say "remote" can you describe exactly what you mean by "remote"? Not on the same machine, but on the same network? An FTP location? Some other location?

 

Also, do you have the Enterprise Edition? If so (depending on how "remote" it is) you *could* use a File Trigger on the TAC (https://help.talend.com/reader/8NjpPLH7hOxl_6BG7X5DcA/IQOHeRv9YRvUUyWZaiidVA). But I believe the server would have to be a Talend JobServer.

 

Otherwise you could use the Talend ESB product to create a Route that monitors this folder. However this is not something that can be done with no knowledge of the ESB. It may also be restricted by how remote the filesystem is.

 

I sense this is going to be a bigger problem than you might imagine.

Rilhia Solutions
Five Stars

Re: Trigger on remote folder

hi,

Thanks for reply. Remote server is not located on same network (which is some other location). I don't have Enterprise edition. how to create a route that monitors this folder. 

Fifteen Stars

Re: Trigger on remote folder

How would you get to this location? What protocol are you expecting to use? FTP? STFP? 

Rilhia Solutions
Five Stars

Re: Trigger on remote folder

I want to use SFTP

Fifteen Stars

Re: Trigger on remote folder

OK, I would use the ESB product and make use of the cMessagingEndpoint to use this Camel component (http://camel.apache.org/ftp.html). 

Rilhia Solutions