diff options
Diffstat (limited to 'docs/examples/ftpuploadresume.c')
-rw-r--r-- | docs/examples/ftpuploadresume.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/ftpuploadresume.c b/docs/examples/ftpuploadresume.c index 8e6be977a..7c71add0c 100644 --- a/docs/examples/ftpuploadresume.c +++ b/docs/examples/ftpuploadresume.c @@ -122,10 +122,10 @@ int upload(CURL *curlhandle, const char * remotepath, const char * localpath, fseek(f, uploaded_len, SEEK_SET); - curl_easy_setopt(curlhandle, CURLOPT_FTPAPPEND, 1); + curl_easy_setopt(curlhandle, CURLOPT_APPEND, 1); } else { /* no */ - curl_easy_setopt(curlhandle, CURLOPT_FTPAPPEND, 0); + curl_easy_setopt(curlhandle, CURLOPT_APPEND, 0); } r = curl_easy_perform(curlhandle); |