CURLOPT_INFILESIZE (3) Linux Manual Page
CURLOPT_INFILESIZE – set size of the input file to send off Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_INFILESIZE, long filesize); DescriptionWhen uploading a file to a remote site, filesize should be used to tell libcurl what the expected size of the input file is. This value must be passed as a long. See also CURLOPT_INFILESIZE_LARGE(3) for…
