SMBConnectionManager

class specatalog.data_management.archive_manager.SMBConnectionManager[source]

Bases: object

Manages SMB network connections for the archive.

connect()[source]

Establish connection to the SMB server.

Return type:

None

disconnect()[source]

Close the SMB connection.

Return type:

None

ensure_connection()[source]

Ensure an active connection exists, connecting if needed.

Return type:

None

reconnect()[source]

Re-establish the SMB connection.

Return type:

None

remote_path()[source]

Get the remote base path for the archive.

Returns:

The remote base path

Return type:

Path