mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:14:42 +01:00
982f76b4df
Before this change, rclone always expected --sftp-path-override to be the absolute SSH path to remote:path/subpath which effectively made it unusable for wrapped remotes (for example, when used with a crypt remote, the user would need to provide the full decrypted path.) After this change, the old behavior remains the default, but dynamic paths are now also supported, if the user adds '@' as the first character of --sftp-path-override. Rclone will ignore the '@' and treat the rest of the string as the path to the SFTP remote's root. Rclone will then add any relative subpaths automatically (including unwrapping/decrypting remotes as necessary). In other words, the path_override config parameter can now be used to specify the difference between the SSH and SFTP paths. Once specified in the config, it is no longer necessary to re-specify for each command. See: https://forum.rclone.org/t/sftp-path-override-breaks-on-wrapped-remotes/40025 |
||
---|---|---|
.. | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
sftp.go | ||
ssh_external.go | ||
ssh_internal.go | ||
ssh.go | ||
stringlock_test.go | ||
stringlock.go |