rclone/backend
Nick Craig-Wood 870c58f7f8 sftp: fail soft with a debug on hash failure #1474
If md5sum/sha1sum fails we debug what it outputed on stderr and return
an empty hash indicating we didn't have a hash, rather than
hash.ErrUnsupported indicating that we don't support this hash type.

This fixes lots of ERROR messages for sftp and synology NAS which,
while it supports md5sum the SFTP paths and the SSH paths are
different so md5sum doesn't work.

We also stop disabling md5sum/sha1sum on errors since typically Hashes
is only checked at the start of a sync run and isn't expected to
change dynamically.
2018-04-21 09:02:53 +01:00
..
alias alias: add new backend to create aliases for remote names #1049 2018-02-06 18:23:47 +00:00
all Add a mega.nz remote #163 2018-04-18 21:09:54 +01:00
amazonclouddrive Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
azureblob Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
b2 Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
box box: Parse file/directory size as a floating point number 2018-04-19 21:04:52 +01:00
cache about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
crypt about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
drive about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
dropbox about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
ftp ftp: Fix no error on listing non-existent directory 2018-04-20 23:22:46 +01:00
googlecloudstorage Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
http backend/http: if HEAD didn't return Content-Length use -1 as size 2018-04-16 19:40:02 +01:00
hubic Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
local about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
mega Add a mega.nz remote #163 2018-04-18 21:09:54 +01:00
onedrive onedrive: add QuickXorHash support for OneDrive for business - fixes #2262 2018-04-20 21:03:03 +01:00
pcloud about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
qingstor Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
s3 s3: Look in S3 named profile files for credentials - fixes #2243 2018-04-21 09:00:20 +01:00
sftp sftp: fail soft with a debug on hash failure #1474 2018-04-21 09:02:53 +01:00
swift about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
webdav webdav: support SharePoint cookie authentication 2018-04-20 21:43:54 +01:00
yandex Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00