Copy a file from local filesystem to the remote Node. Copy source_file from local filesystem to destination_file on the remote Node associated with this remote session. Args: source_file: the file on the local filesystem. destination_file: a file or
(
self,
source_file: str | PurePath,
destination_file: str | PurePath,
)
| 155 | |
| 156 | @abstractmethod |
| 157 | def copy_to( |
| 158 | self, |
| 159 | source_file: str | PurePath, |
| 160 | destination_file: str | PurePath, |
| 161 | ) -> None: |
| 162 | """Copy a file from local filesystem to the remote Node. |
| 163 | |
| 164 | Copy source_file from local filesystem to destination_file |
| 165 | on the remote Node associated with this remote session. |
| 166 | |
| 167 | Args: |
| 168 | source_file: the file on the local filesystem. |
| 169 | destination_file: a file or directory path on the remote Node. |
| 170 | """ |
| 171 | |
| 172 | @abstractmethod |
| 173 | def remove_remote_dir( |