For some actions I use the CURLOPT_QUOTE option to execute specific commands, for example to create a directory.
When an error occurs, how can I get the error message from the server?

For example the protocol log shows this:
> MKD /x
< 550 /x: File exists
* QUOT command failed with 550

I can use the CURLOPT_ERRORBUFFER option to get the latter message ("QUOT command failed with 550"), but how could I get the server generated error message like "File exists"?

Thanks in advance for any suggestions!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to