Home
last modified time | relevance | path

Searched refs:newname (Results 1 – 2 of 2) sorted by relevance

/curl/src/
H A Dtool_cb_wrt.c81 char *newname; in tool_create_output_file() local
87 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()
/curl/docs/
H A DFAQ529 curl -T infile ftp://example.com/dir/ -Q "-RNFR infile" -Q "-RNTO newname"

Completed in 7 milliseconds