On Wed, 3 Apr 2024, Christian Schmitz via curl-library wrote:

So the response code could provide the last error from SFTP library before it switches to state close. To distinguish a problem uploading a file for whether disk is full, quota exceeded or the file name is invalid without parsing text.

As long as that error code is truly an SFTP code from the spec and not a library specific code, it seems totally doable!

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to