aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-10-13 11:57:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-10-13 11:57:56 +0200
commit07e987840c5bb6c33fd19a0e30dcb6f50a630a4f (patch)
treebdc37d70d54f2236ed31dc651ec9db709bfb35db
parenta81836a7f21fc9047d0688b66daa1fe15720a3c7 (diff)
TODO: Handle growing SFTP files
Closes #4344
-rw-r--r--docs/TODO11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/TODO b/docs/TODO
index 199cc84a0..42d37c1bc 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -123,6 +123,7 @@
17. SSH protocols
17.1 Multiplexing
+ 17.2 Handle growing SFTP files
17.3 Support better than MD5 hostkey hash
17.4 Support CURLOPT_PREQUOTE
@@ -799,6 +800,16 @@ that doesn't exist on the server, just like --ftp-create-dirs.
To fix this, libcurl would have to detect an existing connection and "attach"
the new transfer to the existing one.
+17.2 Handle growing SFTP files
+
+ The SFTP code in libcurl checks the file size *before* a transfer starts and
+ then proceeds to transfer exactly that amount of data. If the remote file
+ grows while the tranfer is in progress libcurl won't notice and will not
+ adapt. The OpenSSH SFTP command line tool does and libcurl could also just
+ attempt to download more to see if there is more to get...
+
+ https://github.com/curl/curl/issues/4344
+
17.3 Support better than MD5 hostkey hash
libcurl offers the CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 option for verifying the