curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Set Response Code for SFTP?

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 4 Apr 2024 23:31:08 +0200 (CEST)

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
Received on 2024-04-04