diff --git a/SiaDrive.Api/UploadManager.cpp b/SiaDrive.Api/UploadManager.cpp index e7f2590..1a99301 100644 --- a/SiaDrive.Api/UploadManager.cpp +++ b/SiaDrive.Api/UploadManager.cpp @@ -233,6 +233,9 @@ UploadError CUploadManager::AddOrUpdate(const String& siaPath, String filePath) // Crash during copy - on startup, check for copying status and delete .siadrive // Crash after copy but before db update - on startup, check for copying status and delete .siadrive + + // Strip drive specification (i.e. C:\) + // TODO If mount to drive is ever enabled, this will need to change String siaDriveFileName = GenerateSha256(&filePath[3]) + L".siadrive"; String siaDriveFilePath;