Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

sftp: fix test failures

Nick Craig-Woode8b92f485345
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