aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_formadd.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-08-02 00:14:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-02 00:15:39 +0200
commitc092b0f0f394df78a74990a7a89fc6e90a79ea99 (patch)
treecf854ba728872cbda2908c9cf2d97a0f51ac73e9 /docs/libcurl/curl_formadd.3
parentf75b6065db8c2c817224b6622bc24eb2d7fc2744 (diff)
docs: formpost needs the full size at start of upload
Closes #360
Diffstat (limited to 'docs/libcurl/curl_formadd.3')
-rw-r--r--docs/libcurl/curl_formadd.35
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3
index 3e48149ef..cdae51be2 100644
--- a/docs/libcurl/curl_formadd.3
+++ b/docs/libcurl/curl_formadd.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -103,6 +103,9 @@ given file match one of the internally known file extensions. For
providing multiple \fBCURLFORM_FILE\fP arguments each followed by the filename
(and each \fICURLFORM_FILE\fP is allowed to have a
\fICURLFORM_CONTENTTYPE\fP).
+
+The given upload file has to exist in its full in the file system already when
+the upload starts, as libcurl needs to read the correct file size beforehand.
.IP CURLFORM_CONTENTTYPE
is used in combination with \fICURLFORM_FILE\fP. Followed by a pointer to a
string which provides the content-type for this part, possibly instead of an