Created 09-27-2022 12:45 PM
Good afternoon,
Is there a way to use the FetchFile 1.16.2 processor to access files from Windows when the Nifi application is on Linux?
Created 09-30-2022 09:23 AM
yep, use default port and localhost as a hostname, also don't forget to start a cache server on the same port
Created 09-30-2022 10:57 AM
Do I need to create some kind of service on the Linux server where Nifi is running for this before?
Created 09-30-2022 11:49 AM
no, just another controller as shown at >Use default configs for these two controllers, at first it should be enough
it'll work as a server by itself
Created 10-03-2022 05:14 AM
Created 10-03-2022 11:59 PM
There should be two controllers configured:
DistributedMapCacheClientService
DistributedMapCacheServer
Client is, eh, client, server is a backend for your cache.
Without server client has nowhere to send a flowfile.
Created 09-28-2022 06:13 AM
Hi,
I dont think it matters which system the path is located as long you have access to it. Do you have access to the path \\10.1.1.35\nifi from the machine where nifi is deployed? I'm not Linux expert but you need to test if the path with the file name is accessible by doing some system command or trying to access via file explorer.
Created 09-28-2022 08:19 AM
I can connect to the Windows directory both from another windows machine and from this linux machine that I'm using Nifi, but I'm not able to use the FetchFile processor, it throws the POST error.