Reputation: 7645
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!
Upvotes: 0
Views: 3604
Reputation: 10820
Pysmb is a good choice if you want to access samba shares from python.
Upvotes: 0
Reputation: 1335
The libsmbclient shared library is part of samba provides simple API to access Windows file servers.
Upvotes: 2
Reputation: 2451
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.
Upvotes: 1