Searched refs:newname (Results 1 – 2 of 2) sorted by relevance
81 char *newname; in tool_create_output_file() local87 newname = malloc(newlen); in tool_create_output_file()88 if(!newname) { in tool_create_output_file()92 memcpy(newname, fname, len); in tool_create_output_file()93 newname[len] = '.'; in tool_create_output_file()98 msnprintf(newname + len + 1, 12, "%d", next_num); in tool_create_output_file()101 fd = open(newname, O_CREAT | O_WRONLY | O_EXCL | CURL_O_BINARY, in tool_create_output_file()106 outs->filename = newname; /* remember the new one */ in tool_create_output_file()
529 curl -T infile ftp://example.com/dir/ -Q "-RNFR infile" -Q "-RNTO newname"
Completed in 6 milliseconds