DataLoader/CS/Importor.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
DataLoader/CS/Importor.cs
@@ -374,12 +374,16 @@ if (!Directory.Exists(vd.FilePath)) return -1; int count = 0; vd.Meta.path = Path.Combine("" + GetSubPath(), vd.Meta.guid); string targetFolder = Path.Combine(CommonProp.TargetPath, vd.Meta.path); if (Directory.Exists(targetFolder)) return 0; string[] files = Directory.GetFiles(vd.FilePath, "*", SearchOption.AllDirectories); foreach (string file in files) foreach (string source in files) { try { // string target=source.Replace(vd.FilePath, targetFolder); count++; } catch (Exception ex)