Created 07-22-2016 06:38 AM
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
Created 07-22-2016 06:45 AM
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.
Hope this helps.
Created 07-22-2016 06:45 AM
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.
Hope this helps.
Created 07-22-2016 07:07 AM
Hi @Pierre Villard,
My nifi is deployed in a linux machine. Your suggestion wouldn't work in this case right?
Thanks
Created 07-22-2016 07:46 AM
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