1
mirror of https://github.com/rclone/rclone synced 2024-11-23 00:06:55 +01:00
rclone/backend/sftp
Nick Craig-Wood fefcbf60fa sftp: use the absolute path instead of the relative path
Before this change rclone used the relative path from the current
working directory.

It appears that WS FTP doesn't like this and the openssh sftp tool
also uses absolute paths which is a good reason for switching to
absolute paths.

This change reads the current working directory at startup and bases
all file requests from there.

See: https://forum.rclone.org/t/sftp-ssh-fx-failure-directory-not-found/17436
2020-06-30 16:07:23 +01:00
..
sftp_internal_test.go sftp: add About support - fixes #3107 2019-04-25 10:51:15 +01:00
sftp_test.go build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
sftp_unsupported.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
sftp.go sftp: use the absolute path instead of the relative path 2020-06-30 16:07:23 +01:00
stringlock_test.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
stringlock.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00