Home
last modified time | relevance | path

Searched refs:curlHandlePtr (Results 1 – 1 of 1) sorted by relevance

/third_party/curl/docs/examples/
Dsftpuploadresume.c52 CURL *curlHandlePtr = curl_easy_init(); in sftpGetRemoteFileSize() local
54 curl_easy_setopt(curlHandlePtr, CURLOPT_VERBOSE, 1L); in sftpGetRemoteFileSize()
56 curl_easy_setopt(curlHandlePtr, CURLOPT_URL, i_remoteFile); in sftpGetRemoteFileSize()
57 curl_easy_setopt(curlHandlePtr, CURLOPT_NOPROGRESS, 1); in sftpGetRemoteFileSize()
58 curl_easy_setopt(curlHandlePtr, CURLOPT_NOBODY, 1); in sftpGetRemoteFileSize()
59 curl_easy_setopt(curlHandlePtr, CURLOPT_HEADER, 1); in sftpGetRemoteFileSize()
60 curl_easy_setopt(curlHandlePtr, CURLOPT_FILETIME, 1); in sftpGetRemoteFileSize()
62 result = curl_easy_perform(curlHandlePtr); in sftpGetRemoteFileSize()
64 result = curl_easy_getinfo(curlHandlePtr, in sftpGetRemoteFileSize()
71 curl_easy_cleanup(curlHandlePtr); in sftpGetRemoteFileSize()