SmbConnection (open)
SMB connection object
Syntax
LOADLIB "mod::system/lib/networking/smb.whlib";
OBJECTTYPE SmbConnection
Variables
- BOOLEAN debug
Debug mode
- INTEGER port
Server port
- STRING server
Server hostname
- STRING ARRAY smbclientarguments
Extra arguments for the
smbclient
executable - STRING username
Username
Properties
- PROPERTY password
Password, can only be set
Functions
- BLOB FUNCTION GetFile(STRING share, STRING path)
Retrieves a file
- MACRO PutFile(STRING share, STRING path, BLOB data)
Stores a file