add remote file copy capability

This commit is contained in:
2023-07-26 23:33:28 +02:00
parent 49cbffd46f
commit c441281337
4 changed files with 167 additions and 88 deletions

View File

@@ -52,12 +52,16 @@ message FileReadResponse {
}
message FileCpRequest {
string path = 1;
bytes content = 2;
string src = 1;
string dst = 2;
bytes content = 3;
bool remoteSrc = 4;
bool remoteDst =5;
}
message FileCpResponse {
State state = 1;
bytes content = 2;
}
message SystemRebootRequest {}