diff --git a/server.go b/server.go index e097bda3..3d0f4ace 100644 --- a/server.go +++ b/server.go @@ -288,6 +288,7 @@ func handlePacket(s *Server, p interface{}) error { return s.sendError(p, err) } f = filepath.Clean(f) + f = filepath.ToSlash(f) // make path more Unix like on windows servers return s.sendPacket(sshFxpNamePacket{ ID: p.ID, NameAttrs: []sshFxpNameAttr{{