diff --git a/cmd/serve/sftp/handler.go b/cmd/serve/sftp/handler.go index 64d8d8b5e..cfbcb0e16 100644 --- a/cmd/serve/sftp/handler.go +++ b/cmd/serve/sftp/handler.go @@ -93,8 +93,9 @@ func (v vfsHandler) Filecmd(r *sftp.Request) error { // link := newMemFile(r.Target, false) // link.symlink = r.Filepath // v.files[r.Target] = link + return sftp.ErrSshFxOpUnsupported } - return sftp.ErrSshFxOpUnsupported + return nil } type listerat []os.FileInfo