Lines Matching refs:curl_easy_setopt
94 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in upload()
96 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in upload()
99 curl_easy_setopt(curlhandle, CURLOPT_FTP_RESPONSE_TIMEOUT, timeout); in upload()
101 curl_easy_setopt(curlhandle, CURLOPT_HEADERFUNCTION, getcontentlengthfunc); in upload()
102 curl_easy_setopt(curlhandle, CURLOPT_HEADERDATA, &uploaded_len); in upload()
104 curl_easy_setopt(curlhandle, CURLOPT_WRITEFUNCTION, discardfunc); in upload()
106 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); in upload()
107 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in upload()
110 curl_easy_setopt(curlhandle, CURLOPT_FTPPORT, "-"); in upload()
111 curl_easy_setopt(curlhandle, CURLOPT_FTP_CREATE_MISSING_DIRS, 1L); in upload()
113 curl_easy_setopt(curlhandle, CURLOPT_VERBOSE, 1L); in upload()
128 curl_easy_setopt(curlhandle, CURLOPT_NOBODY, 1L); in upload()
129 curl_easy_setopt(curlhandle, CURLOPT_HEADER, 1L); in upload()
135 curl_easy_setopt(curlhandle, CURLOPT_NOBODY, 0L); in upload()
136 curl_easy_setopt(curlhandle, CURLOPT_HEADER, 0L); in upload()
140 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 1L); in upload()
143 curl_easy_setopt(curlhandle, CURLOPT_APPEND, 0L); in upload()