Lines Matching refs:curlhandle
79 static int sftpResumeUpload(CURL *curlhandle, const char *remotepath,
97 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L);
98 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath);
99 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc);
100 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f);
107 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 1L);
108 result = curl_easy_perform(curlhandle);
124 CURL *curlhandle = NULL;
127 curlhandle = curl_easy_init();
129 if(!sftpResumeUpload(curlhandle, remote, filename)) {
133 curl_easy_cleanup(curlhandle);