cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_PREQUOTE does not take effect

From: <yuxia.gao_at_thomsonreuters.com>
Date: Tue, 1 Nov 2016 06:24:17 +0000

Hi,

I am now using libcurl to develop my FTP client, the version I am using is 7.46.
By setting "TYPE I" to CURLOPT_PREQUOTE, and "RETR list.txt" to CURLOPT_CUSTOMREQUEST, I want to download the file list.txt in Binary mode.
But actually it is still in ASCII mode.
Can you help to tell me what is wrong with it? And how to solve it?

Thanks
Best wishes
Gloria

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-01