Lines Matching refs:curlhandle
77 static int sftpResumeUpload(CURL *curlhandle, const char *remotepath, in sftpResumeUpload() argument
95 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in sftpResumeUpload()
96 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in sftpResumeUpload()
97 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); in sftpResumeUpload()
98 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in sftpResumeUpload()
105 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 1L); in sftpResumeUpload()
106 result = curl_easy_perform(curlhandle); in sftpResumeUpload()
122 CURL *curlhandle = NULL; in main() local
125 curlhandle = curl_easy_init(); in main()
127 if(!sftpResumeUpload(curlhandle, remote, filename)) { in main()
131 curl_easy_cleanup(curlhandle); in main()