"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
serve sftp: return not supported error for not supported commands
Nick Craig-Woodc190b9b14f94
diff --git a/cmd/serve/sftp/handler.go b/cmd/serve/sftp/handler.goindex aba3601a2..b937af80a 100644--- a/cmd/serve/sftp/handler.go+++ b/cmd/serve/sftp/handler.go@@ -83,6 +83,10 @@ func (v vfsHandler) Filecmd(r *sftp.Request) error {// link.symlink = r.Filepath// v.files[r.Target] = linkreturn sftp.ErrSshFxOpUnsupported+ case "Link":+ return sftp.ErrSshFxOpUnsupported+ default:+ return sftp.ErrSshFxOpUnsupported}return nil}