|
smb -- SMB operations
This module provides SMB operations.
Exported Classes
- SessionError (Exception)
- This exception is raised when an error has occured when performing a SMB operation.
- SharedDevice
- A data structure for containing information about the shared device/service.
- SharedFile
- A data structure for containing information about the file or directory in the shared directory.
- SMBMachine
- A data structure for containing information about a SMB machine.
- SMB
- A wrapper for the SMB operations.
Exported Functions
- strerror(errclass, errcode) -> string, string
- Returns the corresponding messages for errclass and errcode.
Exported Constants
- SHARED_DISK
SHARED_PRINT_QUEUE SHARED_DEVICE SHARED_IPC
- These constants define the values for the type of shared device/service.
- ATTR_ARCHIVE
ATTR_COMPRESSED ATTR_NORMAL ATTR_HIDDEN ATTR_READONLY ATTR_TEMPORARY ATTR_DIRECTORY ATTR_SYSTEM
- These constants define the mask values for the attributes of the SharedFile.
- SMB_O_CREAT
- Create the file if file does not exists. Otherwise, operation fails.
- SMB_O_EXCL
- When used with SMB_O_CREAT, operation fails if file exists. Cannot be used with SMB_O_OPEN.
- SMB_O_OPEN
- Open the file if the file exists
- SMB_O_TRUNC
- Truncate the file if the file exists
Last modified on Sat, Nov 10 2001
|