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_operate.c271 if(per->uploadfile && !stdin_upload(per->uploadfile)) { in pre_transfer()
289 if(stat(per->uploadfile, &fileinfo) == 0) { in pre_transfer()
290 fileinfo.st_size = VmsSpecialSize(uploadfile, &fileinfo); in pre_transfer()
295 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
298 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY, in pre_transfer()
304 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
308 helpf(global->errors, "Can't open '%s'!\n", per->uploadfile); in pre_transfer()
654 free(per->uploadfile); in post_per_transfer()
670 Curl_safefree(state->uploadfile); in single_transfer_cleanup()
789 if(!state->uploadfile) { in single_transfer()
[all …]
Dtool_operhlp.h30 bool output_expected(const char *url, const char *uploadfile);
32 bool stdin_upload(const char *uploadfile);
Dtool_operate.h67 char *uploadfile; member
Dtool_cfgable.h44 char *uploadfile; member
/external/curl/docs/
DTheArtOfHttpScripting414 curl --upload-file uploadfile http://www.example.com/receive.cgi