27 FILE *writehere = (FILE *)data;
28 return fwrite(ptr, size, nmemb, writehere);
31 int main(
int argc,
char **argv)
39 ftpfile = fopen(
"ftp-list",
"wb");
42 respfile = fopen(
"ftp-responses",
"wb");
size_t write_response(void *ptr, size_t size, size_t nmemb, void *data)
CURLcode curl_easy_perform(CURL *curl)
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
GLsizei GLsizei GLenum GLenum const GLvoid * data
int main(int argc, char **argv)
void curl_easy_cleanup(CURL *curl)
#define CURLOPT_WRITEDATA
CURL * curl_easy_init(void)