Lines Matching defs:upload
171 static void setup(struct input *i, int num, const char *upload)
185 fprintf(stderr, "error: could not open file %s for writing: %s\n", upload,
190 curl_msnprintf(url, 256, "https://localhost:8443/upload-%d", num);
193 if(stat(upload, &file_info)) {
194 fprintf(stderr, "error: could not stat file %s: %s\n", upload,
201 i->in = fopen(upload, "rb");
203 fprintf(stderr, "error: could not open file %s for reading: %s\n", upload,
215 /* provide the size of the upload */
218 /* send in the URL to store the upload as */
221 /* upload please */
262 /* if given a file name, upload this! */