Skip to main content
realoneomer
Gold ⭐️
May 29, 2019 6:28 PM UTC
Solved

Input Port to ListFile/GetFile/FetchFile Processor

Hello

I have a flow which reads certain parameters and decide if it is a database ingestion or file ingestion. DB ingestions are working fine but for file ingestions i am not able to connect the flow with FetchFile/GetFile/List file processors Looks like these processors does not allow input port to connect. Is there any way or processor to get this done...? My File Ingestion templates is designed to take the input from different folders/files based on input parameters from outerflow.

Shu_ashu
Shu_ashuAnswer
Gold ⭐️⭐️⭐️
May 30, 2019 8:41 AM UTC

@OS

FetchFile processor accepts incoming connections but we need to pass fully qualified filename to this processor to fetch files from the directory.

To get fully qualified filename we need to use ExecuteStreamCommand processor to run shell commands.

Refer to this link i have given in detailed answer how to get fully qualified name in middle of the flow.

Let us know if you have any issues..!!

2 replies

Shu_ashu
Shu_ashuAnswer
Gold ⭐️⭐️⭐️
May 30, 2019 8:41 AM UTC

@OS

FetchFile processor accepts incoming connections but we need to pass fully qualified filename to this processor to fetch files from the directory.

To get fully qualified filename we need to use ExecuteStreamCommand processor to run shell commands.

Refer to this link i have given in detailed answer how to get fully qualified name in middle of the flow.

Let us know if you have any issues..!!

Translate
realoneomer
Gold ⭐️
Jun 12, 2019 5:44 PM UTC

@shu, Thanks for the solution. It worked for me.

Translate