diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-05 22:29:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-05 22:29:29 +0000 |
commit | b60e0fa97ed7ddc66d0ad6d00dfd78319bb6ad36 (patch) | |
tree | 50a5aed5fe1754b59f331e8c4337c8301121e1c7 /docs/libcurl-the-guide | |
parent | 41c6f68d949bf6021fbf4d3488bbf38efa898816 (diff) |
David J Meyer's large file support.
Diffstat (limited to 'docs/libcurl-the-guide')
-rw-r--r-- | docs/libcurl-the-guide | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl-the-guide b/docs/libcurl-the-guide index ba0489179..3eeafc927 100644 --- a/docs/libcurl-the-guide +++ b/docs/libcurl-the-guide @@ -298,9 +298,9 @@ Upload Data to a Remote Site A few protocols won't behave properly when uploads are done without any prior knowledge of the expected file size. So, set the upload file size using the - CURLOPT_INFILESIZE for all known file sizes like this[1]: + CURLOPT_INFILESIZE_LARGE for all known file sizes like this[1]: - curl_easy_setopt(easyhandle, CURLOPT_INFILESIZE, file_size); + curl_easy_setopt(easyhandle, CURLOPT_INFILESIZE_LARGE, file_size); When you call curl_easy_perform() this time, it'll perform all the necessary operations and when it has invoked the upload it'll call your supplied |