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