Add support for copying files back from remote server

This commit is contained in:
baldurk
2016-08-04 17:45:28 +02:00
parent 6437347081
commit d63e3b89ad
7 changed files with 162 additions and 36 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ struct ReplayCommand : public Command
std::cerr << "Copying capture file to remote server" << std::endl;
float progress = 0.0f;
rdctype::str remotePath = remote->CopyCapture(filename.c_str(), &progress);
rdctype::str remotePath = remote->CopyCaptureToRemote(filename.c_str(), &progress);
ReplayRenderer *renderer = NULL;
status = remote->OpenCapture(~0U, remotePath.elems, &progress, &renderer);