0

I'm looking for some stand alone library to access SMB/CIFS shares. I am not looking for mounting the shares, just browsing and accessing the files for reading.

Preferable something with a simple simple API similar to regular POSIX operations of opendir, scandir, read and etc.

Thanks in advance!

3 Answers 3

2

The libsmbclient shared library is part of samba provides simple API to access Windows file servers.

1

as you say nothing about the preferred language I would recommend looking on http://jcifs.samba.org especially http://jcifs.samba.org/src/docs/api/jcifs/smb/SmbFile.html it has what you ask for. Reading files, enumearating directories. API fairly simple.

0

Pysmb is a good choice if you want to access samba shares from python.

Not the answer you're looking for? Browse other questions tagged or ask your own question.