Home
last modified time | relevance | path

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

/external/curl/src/
Dtool_operhlp.c56 bool output_expected(const char *url, const char *uploadfile) in output_expected() argument
58 if(!uploadfile) in output_expected()
66 bool stdin_upload(const char *uploadfile) in stdin_upload() argument
68 return (!strcmp(uploadfile, "-") || in stdin_upload()
69 !strcmp(uploadfile, ".")) ? TRUE : FALSE; in stdin_upload()
Dtool_operhlp.h30 bool output_expected(const char *url, const char *uploadfile);
32 bool stdin_upload(const char *uploadfile);
Dtool_operate.c273 if(per->uploadfile && !stdin_upload(per->uploadfile)) { in pre_transfer()
291 if(stat(per->uploadfile, &fileinfo) == 0) { in pre_transfer()
292 fileinfo.st_size = VmsSpecialSize(uploadfile, &fileinfo); in pre_transfer()
297 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
300 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY, in pre_transfer()
306 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
310 helpf(global->errors, "Can't open '%s'!\n", per->uploadfile); in pre_transfer()
667 free(per->uploadfile); in post_per_transfer()
683 Curl_safefree(state->uploadfile); in single_transfer_cleanup()
804 if(!state->uploadfile) { in single_transfer()
[all …]
Dtool_operate.h74 char *uploadfile; member
Dtool_cfgable.h44 char *uploadfile; member
/external/curl/docs/
DTheArtOfHttpScripting.md352 curl --upload-file uploadfile http://www.example.com/receive.cgi