|
@@ -211,7 +211,7 @@ namespace WingServerCommon.Interfaces.FileTransfer
|
|
|
return new List<string>();
|
|
|
}
|
|
|
//读取缓存文件, 如果存在就是需要断点upload
|
|
|
- var recorderFilePath = _folderBase + ToMD5(sourceFilePath) + ".json";
|
|
|
+ var recorderFilePath = Path.Combine(_folderBase, ToMD5(sourceFilePath) + ".json");
|
|
|
if (File.Exists(recorderFilePath))
|
|
|
{
|
|
|
//调用断点续传
|
|
@@ -369,7 +369,7 @@ namespace WingServerCommon.Interfaces.FileTransfer
|
|
|
{
|
|
|
Directory.CreateDirectory(_folderBase);
|
|
|
}
|
|
|
- var recorderFilePath = _folderBase + ToMD5(record.FilePath) + ".json";
|
|
|
+ var recorderFilePath = Path.Combine(_folderBase, ToMD5(record.FilePath) + ".json");
|
|
|
if (File.Exists(recorderFilePath))
|
|
|
{
|
|
|
//存在删除
|