mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:24:08 +03:00
parent
b7c9166c4c
commit
b70e8f4b9b
8 changed files with 17 additions and 17 deletions
|
|
@ -1471,7 +1471,7 @@ static CURLcode ftp_state_prepare_transfer(struct Curl_easy *data)
|
|||
struct ftp_conn *ftpc = &conn->proto.ftpc;
|
||||
if(!conn->proto.ftpc.file)
|
||||
result = Curl_pp_sendf(data, &ftpc->pp, "PRET %s",
|
||||
data->set.str[STRING_CUSTOMREQUEST]?
|
||||
data->set.str[STRING_CUSTOMREQUEST] ?
|
||||
data->set.str[STRING_CUSTOMREQUEST] :
|
||||
(data->state.list_only ? "NLST" : "LIST"));
|
||||
else if(data->state.upload)
|
||||
|
|
@ -1578,7 +1578,7 @@ static CURLcode ftp_state_list(struct Curl_easy *data)
|
|||
}
|
||||
|
||||
cmd = aprintf("%s%s%s",
|
||||
data->set.str[STRING_CUSTOMREQUEST]?
|
||||
data->set.str[STRING_CUSTOMREQUEST] ?
|
||||
data->set.str[STRING_CUSTOMREQUEST] :
|
||||
(data->state.list_only ? "NLST" : "LIST"),
|
||||
lstArg ? " " : "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue