Pysmb Versions Save

pysmb is an experimental SMB/CIFS library written in Python. It implements the client-side SMB/CIFS protocol (SMB1 and SMB2) which allows your Python application to access and transfer files to/from SMB/CIFS shared folders like your Windows file sharing and Samba folders.

rel-1-2-0

4 years ago

Improve deleteFiles() API to support deletion of child folders that match the search pattern.

rel-1-1-29

4 years ago
  • Fix unhandled exception for short NBNS queries [#149]
  • Fix wildcard file deletion with servers on SMB2 protocol [#33]

rel-1-1-28

4 years ago

SharedFile instances returned from the listPath() method now has a new file_id attribute which represents the file reference number given by the SMB server. [#147]

rel-1-1-27

5 years ago

Remove support for SMB-2.1 dialect as it seems to have issues with Windows 2008 R2.

rel-1-1-26

5 years ago
  • Prevents OperationError from being raised when listPath() operation does not return any matching file results.
  • SMBConnection is now a context manager #122.

rel-1-1-25

5 years ago
  • Fix buggy support for search parameter in listPath() method. Add SMB_FILE_ATTRIBUTE_INCL_NORMAL bit constant to include 'normal' files with other file types in the returned result. From now on, pysmb defines a 'normal' file as a file entry that is not read-only, not hidden, not system, not archive and not a directory; it ignores other attributes like compression, indexed, sparse, temporary and encryption. listPath() method will now include 'normal' files using the default search parameter.
  • Add isNormal property to SharedFile class to support test if the file is a 'normal' file (according to pysmb definition of 'normal' file).

rel-1-1-24

5 years ago
  • Improve listPath implementation for SMB1
  • Support for STATUS_PENDING responses across all SMB2 operations.

rel-1-1-23

6 years ago
  • Fix bug in listShares() method which fails when the remote server has many shares. (Contributed by @carlosefr)
  • Improve echo() method to test and fail if the provided data to echo is not a bytes object. (Contributed by @carlosefr)
  • Fix bug in listPath() method where the path to query is not properly terminated. (Contributed by @Yepoleb)

rel-1-1-22

6 years ago

Fix bug in getAttributes() method which should return only the filename instead of the entire path for the filename property for the return result.

rel-1-1-21

6 years ago

Fix bug where timestamp values for SMB1 getAttributes() response are not converted properly from FILETIME to epoch time values