Client For Connecting To NTB's Cloud Via WebDav.
More...
Client For Connecting To NTB's Cloud Via WebDav.
◆ __init__()
def NTBCloud.NTBWebdav.__init__ |
( |
|
self, |
|
|
|
hostname, |
|
|
|
username, |
|
|
|
password, |
|
|
|
max_workers = 4 |
|
) |
| |
Constructor.
- Parameters
-
hostname | The hostname for NTB's cloud (EX: https://cloud.ntb.ch/) |
username | The username for someone who has access to the shared folder |
password | The password for that user |
◆ backup_file()
def NTBCloud.NTBWebdav.backup_file |
( |
|
self, |
|
|
|
file_path, |
|
|
|
destination_path = '' |
|
) |
| |
Backs up a single file to the correct folder on NTB's Cloud.
- Parameters
-
file_path | The path to the file on the disk that should be backed up |
◆ getPathFromFileName()
def NTBCloud.NTBWebdav.getPathFromFileName |
( |
|
filename | ) |
|
|
static |
◆ makeSurePathExists()
def NTBCloud.NTBWebdav.makeSurePathExists |
( |
|
self, |
|
|
|
path |
|
) |
| |
◆ backup_location
NTBCloud.NTBWebdav.backup_location |
◆ client
NTBCloud.NTBWebdav.client |
The documentation for this class was generated from the following file: