diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-10 11:28:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-10 11:28:01 +0000 |
commit | 920579ba1189de99f2242acf102f8b64ee00ee0b (patch) | |
tree | 257d172fc1e307a2ff1b518e803e64cd5012f443 /lib | |
parent | 1ff573c649c7d864f99f9de451cc1c021baf0280 (diff) |
doing an ftp upload append that was already completed resulted in a
"hang", it now results in an error instead
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |