Lines Matching refs:file
10 * This software is licensed as described in the file COPYING, which
16 * furnished to do so, under the terms of the COPYING file.
330 /* Get contents from a given file name */
351 /* We upload a file */
767 free(form->showfilename); /* free the faked file name */
822 struct curl_httppost *file;
838 /* If we have more than a file here, create a mime subpart and fill it. */
856 for(file = post; !result && file; file = file->more) {
864 result = curl_mime_headers(part, file->contentheader, 0);
867 if(!result && file->contenttype)
868 result = curl_mime_type(part, file->contenttype);
882 if(!strcmp(file->contents, "-")) {
886 compatibility: use of "-" pseudo file name should be avoided. */
893 result = curl_mime_filedata(part, file->contents);
918 /* Set fake file name. */