(self, remote_path, local_path, progress=None)
| 457 | raise NotConnection(self.webdav.hostname) |
| 458 | |
| 459 | def upload(self, remote_path, local_path, progress=None): |
| 460 | |
| 461 | if os.path.isdir(local_path): |
| 462 | self.upload_directory(local_path=local_path, remote_path=remote_path, progress=progress) |
| 463 | else: |
| 464 | self.upload_file(local_path=local_path, remote_path=remote_path, progress=progress) |
| 465 | |
| 466 | def upload_directory(self, remote_path, local_path, progress=None): |
| 467 |
no test coverage detected