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.
Ignore STATUS_PENDING during delete and file store operations which could cause such operations to abort.
Add new parameter to SMBConnection's storeFileFromOffset method to determine whether the remote file is to be truncated before writing.