Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

url should be always using forward slash

chrislub3e526ba95d2
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 185a1d0ff1..06bb823196 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -212,7 +212,7 @@ func genFileCopyTask(fileOrDir string, destPath string, fileCopyTaskChan chan Fi
if mode.IsDir() {
files, _ := os.ReadDir(fileOrDir)
for _, subFileOrDir := range files {
- cleanedDestDirectory := filepath.Clean(destPath + fi.Name())
+ cleanedDestDirectory := destPath + fi.Name()
if err = genFileCopyTask(fileOrDir+"/"+subFileOrDir.Name(), cleanedDestDirectory+"/", fileCopyTaskChan); err != nil {
return err
}