On Tue, 8 Jun 2021, Anmol Mishra via curl-library wrote:
However, I cannot see the equivalent options inside libcurl. Is the --output-dir option only available in the curl CLI ?
Yes, since libcurl doesn't really save content to files/directories. It delivers the content to a callback.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html