I need a **threadsafe function to download files over SMB,** similar to what smbget does but using one SMB-connection to download multiple files simultaneously.
Note all transfers use the same user context and access files on the same share.
Authenticating multiple times using the same user/password to access different files on the same share does not seem to work (at least I did not get it to work)
This should be possible to be done using libsmbclient
## Deliverables
I need a **threadsafe function to download files over SMB, similar to what smbget does but using one SMB-connection to download multiple files simultaneously.**
**Note all transfers use the same user context and access files on the same share.**
**Authenticating multiple times using the same user/password to access different files on the same share does not seem to work (at least I did not get it to work)**
**
This should be possible to be done using libsmbclient**