Lines Matching refs:outfile

768   free(per->outfile);  in post_per_transfer()
1868 if(urlnode->outfile && !state->outfiles) { in single_transfer()
1869 state->outfiles = strdup(urlnode->outfile); in single_transfer()
2093 per->outfile = NULL; in single_transfer()
2118 per->outfile = strdup(state->outfiles); in single_transfer()
2119 if(!per->outfile) { in single_transfer()
2126 (per->outfile && strcmp("-", per->outfile)))) { in single_transfer()
2133 if(!per->outfile) { in single_transfer()
2135 result = get_url_file_name(global, &per->outfile, per->url); in single_transfer()
2144 char *storefile = per->outfile; in single_transfer()
2145 result = glob_match_url(&per->outfile, storefile, state->urls); in single_transfer()
2152 if(!*per->outfile) { in single_transfer()
2158 DEBUGASSERT(per->outfile); in single_transfer()
2161 char *d = aprintf("%s/%s", config->output_dir, per->outfile); in single_transfer()
2166 free(per->outfile); in single_transfer()
2167 per->outfile = d; in single_transfer()
2173 result = create_dir_hierarchy(per->outfile, global); in single_transfer()
2181 if(!stat(per->outfile, &fileinfo)) { in single_transfer()
2184 per->outfile); in single_transfer()
2200 if(0 == stat(per->outfile, &fileinfo)) in single_transfer()
2212 FILE *file = fopen(outfile, "ab", in single_transfer()
2216 FILE *file = fopen(per->outfile, "ab"); in single_transfer()
2219 errorf(global, "cannot open '%s'", per->outfile); in single_transfer()
2230 outs->filename = per->outfile; in single_transfer()
2302 if((!per->outfile || !strcmp(per->outfile, "-")) && in single_transfer()
2311 (per->outfile && !strcmp(per->outfile, "-")); in single_transfer()