Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi GetFile Processor

avatar
Expert Contributor

Hello

I want to use a nifi processor to retrieve files from a windows share. I have set the Directory property with the value \\ServerName\SharedFolder but the processor says the directory doesn't exist. Is there a specific format to insert windows share in this property? I have granted "Everyone" read/write permissions on this shared folder.

Please advise

Thanks

Ahmad

1 ACCEPTED SOLUTION

avatar

Hi @Ahmad Debbas,

I never did it but what you could try is to assign a drive letter (X for example) to your shared folder and then use a path like X:/my/folder in the GetFile processor.

https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_fcab_connect...

Hope this helps.

View solution in original post

3 REPLIES 3

avatar

Hi @Ahmad Debbas,

I never did it but what you could try is to assign a drive letter (X for example) to your shared folder and then use a path like X:/my/folder in the GetFile processor.

https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_fcab_connect...

Hope this helps.

avatar
Expert Contributor

Hi @Pierre Villard,

My nifi is deployed in a linux machine. Your suggestion wouldn't work in this case right?

Thanks

avatar

Correct. In this case, you'd want to mount your Windows shared folder on your Linux machine [1]. In short, NiFi will be able to access your folder if you are able to access it from your console on your Linux host.

[1] https://help.ubuntu.com/community/MountWindowsSharesPermanently