|
@ -191,7 +191,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) { |
|
|
crTime := time.Now() |
|
|
crTime := time.Now() |
|
|
if err == nil && existingEntry != nil { |
|
|
if err == nil && existingEntry != nil { |
|
|
if existingEntry.IsDirectory() { |
|
|
if existingEntry.IsDirectory() { |
|
|
path += ret.Name |
|
|
|
|
|
|
|
|
path += "/" + ret.Name |
|
|
} else { |
|
|
} else { |
|
|
crTime = existingEntry.Crtime |
|
|
crTime = existingEntry.Crtime |
|
|
} |
|
|
} |
|
|