cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP: get error message from server

From: pcworld <0188801_at_googlemail.com>
Date: Tue, 26 Apr 2011 13:56:00 +0200

Daniel Stenberg <daniel <at> haxx.se> writes:
> You can use the HEADERFUNCTION or the DEBUGFUNCTION, but it will
require some
> level of parsing and understanding in your program of what's being
received.

Thanks, HEADERFUNCTION is what I needed. But looking at the output from
different servers it seems that outputs are too different and therefore
not easy to parse, so I guess I'll keep it with only the FTP code.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-26