Searched refs:curlhandle (Results 1 – 2 of 2) sorted by relevance
/curl/docs/examples/ |
H A D | ftpuploadresume.c | 84 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in upload() 86 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in upload() 97 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in upload() 100 curl_easy_setopt(curlhandle, CURLOPT_FTPPORT, "-"); in upload() 107 curl_easy_setopt(curlhandle, CURLOPT_VERBOSE, 1L); in upload() 120 curl_easy_setopt(curlhandle, CURLOPT_NOBODY, 1L); in upload() 123 r = curl_easy_perform(curlhandle); in upload() 138 r = curl_easy_perform(curlhandle); in upload() 153 CURL *curlhandle = NULL; in main() local 156 curlhandle = curl_easy_init(); in main() [all …]
|
H A D | sftpuploadresume.c | 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() [all …]
|
Completed in 6 milliseconds