Home
last modified time | relevance | path

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

/third_party/curl/src/
Dtool_operhlp.c55 bool output_expected(const char *url, const char *uploadfile) in output_expected() argument
57 if(!uploadfile) in output_expected()
65 bool stdin_upload(const char *uploadfile) in stdin_upload() argument
67 return (!strcmp(uploadfile, "-") || in stdin_upload()
68 !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()
623 free(per->uploadfile); in post_per_transfer()
639 Curl_safefree(state->uploadfile); in single_transfer_cleanup()
742 if(!state->uploadfile) { in single_transfer()
[all …]
Dtool_operate.h71 char *uploadfile; member
Dtool_cfgable.h43 char *uploadfile; member
/third_party/curl/docs/
DMANUAL.md211 curl -T uploadfile -u user:passwd ftp://ftp.upload.com/myfile
216 curl -T uploadfile -u user:passwd ftp://ftp.upload.com/
DTheArtOfHttpScripting.md360 curl --upload-file uploadfile http://www.example.com/receive.cgi