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.
48 * type. It PUTs a file given as a command line argument to the URL also given
77 fprintf(stderr, "*** We read %lu bytes from file\n", (unsigned long)nread);
90 char *file;
96 file = argv[1];
99 /* get the file size of the local file */
100 fp = fopen(file, "rb");
112 /* which file to upload */
118 /* pass the file descriptor to the seek callback as well */
124 /* specify target URL, and note that this URL should also include a file
128 /* and give the size of the upload, this supports large file sizes
151 fclose(fp); /* close the local file */