Skip to content
Snippets Groups Projects
Commit 920579ba authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

doing an ftp upload append that was already completed resulted in a

"hang", it now results in an error instead
parent 1ff573c6
No related branches found
No related tags found
No related merge requests found
......@@ -1062,8 +1062,8 @@ CURLcode _ftp(struct connectdata *conn)
data->infilesize -= data->resume_from;
if(data->infilesize <= 0) {
infof(data, "File already completely uploaded\n");
return CURLE_OK;
failf(data, "File already completely uploaded\n");
return CURLE_FTP_COULDNT_STOR_FILE;
}
}
/* we've passed, proceed as normal */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment