Home
last modified time | relevance | path

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

/curl/src/
H A Dtool_cb_rea.c51 if((per->uploadfilesize != -1) && in tool_read_cb()
52 (per->uploadedsofar == per->uploadfilesize)) { in tool_read_cb()
94 if((per->uploadfilesize != -1) && in tool_read_cb()
95 (per->uploadedsofar + rc > per->uploadfilesize)) { in tool_read_cb()
97 curl_off_t delta = per->uploadedsofar + rc - per->uploadfilesize; in tool_read_cb()
101 rc = (ssize_t)(per->uploadfilesize - per->uploadedsofar); in tool_read_cb()
H A Dtool_operate.h62 curl_off_t uploadfilesize; /* expected total amount */ member
H A Dtool_operate.c355 curl_off_t uploadfilesize = -1; in pre_transfer() local
407 uploadfilesize = fileinfo.st_size; in pre_transfer()
415 uploadfilesize = (curl_off_t)sz; in pre_transfer()
420 if(uploadfilesize != -1) { in pre_transfer()
426 my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); in pre_transfer()
429 per->uploadfilesize = uploadfilesize; in pre_transfer()

Completed in 11 milliseconds