Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor fix FileSystemStore

support023123329f5f
diff --git a/src/Business/Grand.Business.Storage/Services/FileSystemStore.cs b/src/Business/Grand.Business.Storage/Services/FileSystemStore.cs
index 9b82a9b39..3efe1a49b 100644
--- a/src/Business/Grand.Business.Storage/Services/FileSystemStore.cs
+++ b/src/Business/Grand.Business.Storage/Services/FileSystemStore.cs
@@ -196,7 +196,7 @@ namespace Grand.Business.Storage.Services
throw new Exception($"The file '{srcPath}' does not exist.");
}
var file = await GetFileInfo(srcPath);
- var physicalDstPath = GetPhysicalPath(Path.Combine(dstPath, file.Name));
+ var physicalDstPath = GetPhysicalPath(Path.Combine(dstPath));
if (File.Exists(physicalDstPath) || Directory.Exists(physicalDstPath))
{