Continue support for download
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user