Lines Matching defs: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.
34 * This example shows an HTTP PUT operation. PUTs a file given as a command
55 fprintf(stderr, "*** We read %lu bytes from file\n", nread);
68 char *file;
74 file = argv[1];
77 /* get the file size of the local file */
78 stat(file, &file_info);
80 /* get a FILE * of the same file, could also be made with
83 hd_src = fopen(file, "rb");
97 /* specify target URL, and note that this URL should include a file
101 /* now specify which file to upload */
119 fclose(hd_src); /* close the local file */