Lines Matching defs:newpath
244 const char *newpath;
293 if(outfile) newpath = outfile;
295 newpath = strrchr(base, '/');
296 if(newpath)newpath++; else newpath = base;
297 } else newpath = name;
299 if(newpath[0] == '/')newpath++;
303 localhandle = open(newpath, O_CREAT | O_NONBLOCK | O_RDWR | (!resume?O_EXCL:0), 0755);
305 fprintf(stderr, "Can't open %s: %s\n", newpath, strerror(errno));
326 "At the moment "OFF_T_FORMAT" of "OFF_T_FORMAT" bytes have been retrieved\n", newpath, offset_check,
335 fprintf(stderr, "Can't seek to "OFF_T_FORMAT" in local file %s\n", offset_check, newpath);
342 fprintf(stderr, "Can't seek to "OFF_T_FORMAT" in remote file %s\n", offset_check, newpath);
404 print_progress(newpath, start_time, time(NULL), start_offset, curpos, remotestat.st_size);