Lines Matching refs:uploadfile
358 if(per->uploadfile && !stdin_upload(per->uploadfile)) { in pre_transfer()
376 if(stat(per->uploadfile, &fileinfo) == 0) { in pre_transfer()
377 fileinfo.st_size = VmsSpecialSize(uploadfile, &fileinfo); in pre_transfer()
382 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
385 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY, in pre_transfer()
391 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
395 helpf(tool_stderr, "cannot open '%s'", per->uploadfile); in pre_transfer()
443 Curl_safefree(state->uploadfile); in single_transfer_cleanup()
769 free(per->uploadfile); in post_per_transfer()
1009 my_setopt(curl, CURLOPT_UPLOAD, per->uploadfile ? 1L : 0L); in config2setopts()
1430 else if(per->uploadfile && !strcmp(per->uploadfile, ".")) { in config2setopts()
1888 if(!state->uploadfile) { in single_transfer()
1890 result = glob_next_url(&state->uploadfile, state->inglob); in single_transfer()
1896 state->uploadfile = urlnode->infile; in single_transfer()
2015 if(state->uploadfile) { in single_transfer()
2016 per->uploadfile = strdup(state->uploadfile); in single_transfer()
2017 if(!per->uploadfile) { in single_transfer()
2023 Curl_safefree(per->uploadfile); in single_transfer()
2234 if(per->uploadfile && !stdin_upload(per->uploadfile)) { in single_transfer()
2239 per->uploadfile); in single_transfer()
2243 else if(per->uploadfile && stdin_upload(per->uploadfile)) { in single_transfer()
2273 if(!strcmp(per->uploadfile, ".")) { in single_transfer()
2280 if(per->uploadfile && config->resume_from_current) in single_transfer()
2283 if(output_expected(per->url, per->uploadfile) && outs->stream && in single_transfer()
2343 Curl_safefree(state->uploadfile); /* clear it to get the next */ in single_transfer()
2354 Curl_safefree(state->uploadfile); in single_transfer()