blob: fecff8168027ba0be1fc18b636f144d183fdea5b [file] [log] [blame]
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package remoting.protocol;
// Next Id: 3
message FileTransferRequest {
optional string filename = 1;
optional uint64 filesize = 2;
}
// Next Id: 4
message FileTransferResponse {
enum TransferState {
READY = 1;
IN_PROGRESS = 2;
DONE = 3;
}
optional TransferState state = 1;
enum ErrorCode {
OUT_OF_DISK_SPACE = 1;
PERMISSIONS_ERROR = 2;
}
optional ErrorCode error = 2;
optional uint64 total_bytes_written = 3;
}