Saving image on a SMB network

We are working on an app that manage receiving material and we need to take picture of the material and save it to the network (share drive).

We try all kind of tools Ex. AMSMB2 and we are not able to.

I am sure I am not the only one trying to do that. :)

Thank you for the help

Christian