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.

Set Response Code for SFTP?

From: Christian Schmitz via curl-library <>
Date: Wed, 3 Apr 2024 14:47:41 +0200


We see Responde code is available for HTTP and FTP, but not for SFTP.
For query via CURLINFO_RESPONSE_CODE and Curl_getinfo.

Could this be changed, so SFTP also sets the field?

It looks like we could need to write the response code when available into the data->info.httpcode field for all three SSH variants.

Best regards,

Read our blog about news on our plugins:
Received on 2024-04-03