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.

How to identify that extensions are not supported on SFTP server? [libcurl]

From: Nimit Dhulekar via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 22 Nov 2023 19:26:15 +0000

Hi,
We found that SFTP servers hosted on Azure blob storage do not support the statvfs extension.

https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-known-issues#unsupported-operations

We have been using statvfs as a CURLOPT_QUOTE command via libcurl to identify whether the entry on the SFTP server is a file or folder. Is there any way to know in advance (preferably through libcurl) that a certain command is not supported on an SFTP server?

Thanks,
Nimit


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-11-22