I was playing with various (wrong) options to try and get the output,
prior to starting this thread, but was unsuccessful. Now I got it
working with CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA.
Thank you for clearing things up.
Best regards!
Nejc
--
Unsubscribe:
On Wed, Jan 17, 2024 at 03:28:11PM +0100, Nejc Drašček via curl-library wrote:
> I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which under
> the hood uses libcurl, and some requests are "polluting" stdout with http
> headers:
>
> Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT
>
Define in title of this topic, github link:
https://github.com/curl/curl/blob/master/lib/ftp.c#L230
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
On Wed, Jan 17, 2024 at 03:28:11PM +0100, Nejc Drašček via curl-library wrote:
> I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which under
> the hood uses libcurl, and some requests are "polluting" stdout with http
> headers:
>
> Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT
>
Hi,
I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which
under the hood uses libcurl, and some requests are "polluting" stdout
with http headers:
Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT
Content-Length: 0
Accept-ranges: bytes
According to comment in lib/ftp.c this define