From c092b0f0f394df78a74990a7a89fc6e90a79ea99 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 2 Aug 2015 00:14:23 +0200 Subject: docs: formpost needs the full size at start of upload Closes #360 --- docs/curl.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/curl.1') diff --git a/docs/curl.1 b/docs/curl.1 index 69ab9781d..e3303a54f 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -607,7 +607,9 @@ input: \fBcurl\fP -F password=@/etc/passwd www.mypasswords.com To read content from stdin instead of a file, use - as the filename. This goes -for both @ and < constructs. +for both @ and < constructs. Unfortunately it does not support reading the +file from a named pipe or similar, as it needs the full size before the +transfer starts. You can also tell curl what Content-Type to use by using 'type=', in a manner similar to: -- cgit v1.2.3