Searched refs:curlhandle (Results 1 - 1 of 1) sorted by relevance
/macosx-10.10/curl-83.1.2/curl/docs/examples/ |
H A D | ftpuploadresume.c | 83 int upload(CURL *curlhandle, const char * remotepath, const char * localpath, argument 97 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); 99 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); 102 curl_easy_setopt(curlhandle, CURLOPT_FTP_RESPONSE_TIMEOUT, timeout); 104 curl_easy_setopt(curlhandle, CURLOPT_HEADERFUNCTION, getcontentlengthfunc); 105 curl_easy_setopt(curlhandle, CURLOPT_HEADERDATA, &uploaded_len); 107 curl_easy_setopt(curlhandle, CURLOPT_WRITEFUNCTION, discardfunc); 109 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); 110 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); 112 curl_easy_setopt(curlhandle, CURLOPT_FTPPOR 163 CURL *curlhandle = NULL; local [all...] |
Completed in 180 milliseconds