Lines Matching refs:curl_easy_setopt
82 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in upload()
84 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in upload()
87 curl_easy_setopt(curlhandle, CURLOPT_FTP_RESPONSE_TIMEOUT, timeout); in upload()
89 curl_easy_setopt(curlhandle, CURLOPT_HEADERFUNCTION, getcontentlengthfunc); in upload()
90 curl_easy_setopt(curlhandle, CURLOPT_HEADERDATA, &uploaded_len); in upload()
92 curl_easy_setopt(curlhandle, CURLOPT_WRITEFUNCTION, discardfunc); in upload()
94 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); in upload()
95 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in upload()
98 curl_easy_setopt(curlhandle, CURLOPT_FTPPORT, "-"); in upload()
99 curl_easy_setopt(curlhandle, CURLOPT_FTP_CREATE_MISSING_DIRS, 1L); in upload()
101 curl_easy_setopt(curlhandle, CURLOPT_VERBOSE, 1L); in upload()
116 curl_easy_setopt(curlhandle, CURLOPT_NOBODY, 1L); in upload()
117 curl_easy_setopt(curlhandle, CURLOPT_HEADER, 1L); in upload()
123 curl_easy_setopt(curlhandle, CURLOPT_NOBODY, 0L); in upload()
124 curl_easy_setopt(curlhandle, CURLOPT_HEADER, 0L); in upload()
128 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 1L); in upload()
131 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 0L); in upload()