1
mirror of https://github.com/rclone/rclone synced 2024-11-21 22:50:16 +01:00
rclone/backend/sftp
Nick Craig-Wood e6e6069ecf sftp: don't stat directories before listing them
Before this change we ran stat on the directory to see if it existed.

Not only is this inefficient it isn't allowed by some SFTP servers.

See: https://forum.rclone.org/t/stat-failed-error-on-sftp/38045
2023-05-10 15:07:21 +01:00
..
sftp_internal_test.go sftp: add support for about and hashsum on windows server 2022-06-08 21:14:53 +02:00
sftp_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp.go sftp: don't stat directories before listing them 2023-05-10 15:07:21 +01:00
stringlock_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
stringlock.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00