[SOLVED] SMBclient without authentification

Hi,

May you can ask me if it is possible or not ? I’d like to transfer some file to a guest share.

import smbclient.shutil

smbclient.shutil.copyfile(
   'file.txt', "\\\\IP\\folder\\file.txt", username='', password='')

It keeps saying me that it need encryption / signing. Is there any way for me to bypass it ?

Error message :

smbprotocol.exceptions.SMBException: SMB encryption or signing was required but session was authenticated as a guest which does not support encryption or signing

Thanks a lot !

Ok, worked with Speedcopy :slight_smile: