Searched refs:uploadfile (Results 1 – 4 of 4) sorted by relevance
54 bool output_expected(const char *url, const char *uploadfile) in output_expected() argument56 if(!uploadfile) in output_expected()64 bool stdin_upload(const char *uploadfile) in stdin_upload() argument66 return (!strcmp(uploadfile, "-") || in stdin_upload()67 !strcmp(uploadfile, ".")) ? TRUE : FALSE; in stdin_upload()
441 char *uploadfile; /* a single file, never a glob */ in operate_do() local446 uploadfile = NULL; in operate_do()454 result = glob_next_url(&uploadfile, inglob); in operate_do()459 uploadfile = strdup(infiles); in operate_do()460 if(!uploadfile) { in operate_do()466 uploadfile = NULL; in operate_do()467 if(!uploadfile) in operate_do()482 Curl_safefree(uploadfile); in operate_do()649 if(uploadfile && !stdin_upload(uploadfile)) { in operate_do()655 this_url = add_file_name_to_url(curl, this_url, uploadfile); in operate_do()[all …]
30 bool output_expected(const char *url, const char *uploadfile);32 bool stdin_upload(const char *uploadfile);
414 curl --upload-file uploadfile http://www.example.com/receive.cgi