1
0

Continue support for download

This commit is contained in:
Scott E. Graves
2017-03-14 17:45:22 -05:00
parent cb82d32c7c
commit 1acae236c8
4 changed files with 69 additions and 15 deletions

View File

@@ -63,7 +63,9 @@ private:
ret = ApiSuccess(_siaApi->GetRenter()->DownloadFile(siaPath, tempPath));
if (ret)
{
String src = StdConstructPath(tempPath, L"");
String dest = StdConstructPath(GetCacheLocation(), siaPath);
ret = ::MoveFile(src.c_str(), dest.c_str()) ? true : false;
}
}