Searched refs:curlhandle (Results 1 – 3 of 3) sorted by relevance
/external/curl/docs/examples/ |
D | ftpuploadresume.c | 68 static int upload(CURL *curlhandle, const char *remotepath, in upload() argument 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() [all …]
|
D | sftpuploadresume.c | 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() [all …]
|
/external/curl/docs/ |
D | BINDINGS.md | 24 [curlhandle](https://github.com/karelia/curlhandle) Written by Dan Wood
|