Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 586 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 586 Bytes

Access Samba/Windows-Shares

Small example how to upload, download, delete files (use at your own risk). This worked with my mini WIFI-Router USB-Stick-Share.

First you need to download these two python modules: pysmb-1.1.13 and pyasn1-0.1.7 Then extract \pysmb-1.1.13\python2\smb, \pysmb-1.1.13\python2\nmb and \pyasn1-0.1.7\pyasn1\ to the side-packages directory. After adjusting the parameters (username, password, ...) you might check for NetBIOS support or leave it for TCP support. => Port (139 = NetBIOS) and is_direct_tcp=False => SUPPORT_SMB2=True