rclone/backend
nielash 982f76b4df
sftp: support dynamic --sftp-path-override
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
2023-07-30 03:12:07 +01:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all protondrive: add protondrive backend - fixes #6072 2023-07-22 10:46:21 +01:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
b2 rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
box box: fix reconnect failing with HTTP 400 Bad Request 2023-07-14 10:24:33 +01:00
cache build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
chunker rcat: preserve metadata when Copy falls back to Rcat 2022-11-10 12:04:35 +00:00
combine backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
compress combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
crypt backend: fix misspellings found by codespell 2023-06-26 14:34:52 +01:00
drive rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
dropbox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
fichier fichier: implement DirMove 2023-07-28 01:25:42 +01:00
filefabric rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
ftp ftp,sftp: add socks_proxy support for SOCKS5 proxies 2023-07-30 03:02:08 +01:00
googlecloudstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
googlephotos fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
hasher combine,compress,crypt,hasher,union: support wrapping backends with PartialUploads 2023-06-14 10:52:03 +01:00
hdfs rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
hidrive hidrive: remove unused code (fixes issue reported by the unused linter) 2023-03-26 14:28:15 +02:00
http http: ensure folders show the modtime configured by --default-time #6986 2023-05-04 15:03:11 +01:00
internetarchive rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
jottacloud rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
koofr rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
local operations: fix .rclonelink files not being converted back to symlinks 2023-07-10 14:30:59 +01:00
mailru rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
mega rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
onedrive rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
opendrive rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
oracleobjectstorage rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
pcloud rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
pikpak rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
premiumizeme rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
protondrive protondrive: fix a bug in parsing User metadata (#7174) 2023-07-28 11:03:23 +02:00
putio rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
qingstor rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
s3 docs: rclone backend restore 2023-07-29 11:31:16 +09:00
seafile rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sftp sftp: support dynamic --sftp-path-override 2023-07-30 03:12:07 +01:00
sharefile rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sia rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
smb smb: implement multi-threaded writes for copies to smb 2023-07-25 08:31:36 +01:00
storj rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
sugarsync rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
swift rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
union Revert "union: disable PartialUploads on integration tests failures" 2023-06-29 21:11:04 +01:00
uptobox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
webdav webdav: nextcloud chunking: add more guidance for the user to check the config 2023-07-10 14:37:09 +01:00
yandex yandex: fix 400 Bad Request on transfer failure 2023-06-11 11:11:43 +01:00
zoho zoho: fix downloads with Range: header returning the wrong data 2023-06-14 17:43:26 +01:00