Support Questions

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

NiFi - PutSmbFile Processor is not creating missing directories

avatar
Explorer

 

Hi All,

             I am using NiFi 1.12.1 PutSmbFile  processor to copy the file to windows share(SMB). I have given "Create Missing Directories" property value as "true". It creates missing directory if there is only one directory missing. But it is throwing following error  com.hierynomus.mssmb2.SMBApiException: STATUS_OBJECT_PATH_NOT_FOUND (0xc000003a)

when there is more than one directory is missing in the destination path. Please share your ideas.

2 REPLIES 2

avatar
New Contributor

Hi, The PutSmbFile processor does not currently support this feature due to limitations in the Samba API. However, I have been working to fix this issue, and made a PR regarding the same. I paused development on this for a while but will resume soon.  Stay posted!

https://github.com/apache/nifi/pull/4585

avatar
Explorer

Great thanks jayaaditya,

 

Please let me know once you fixed the issue.