reflog
reflog

Reputation: 7645

cifs/samba client library

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

Answers (3)

INS
INS

Reputation: 10820

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

Upvotes: 0

Nikolai
Nikolai

Reputation: 1335

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

Upvotes: 2

Boris Daich
Boris Daich

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

Related Questions