use the correct 'test71' file name for the temp file

This commit is contained in:
Daniel Stenberg
2003-07-28 08:23:46 +00:00
parent 76352c4e2d
commit 9301bc3444

View File

@@ -21,13 +21,13 @@ HTTP and -F upload in config file
<stdin> <stdin>
-F name=daniel -F name=daniel
-F tool=curl -F tool=curl
-F file=@log/test9.txt -F file=@log/test71.txt
</stdin> </stdin>
<command> <command>
http://%HOSTIP:%HOSTPORT/we/want/71 -K - http://%HOSTIP:%HOSTPORT/we/want/71 -K -
</command> </command>
# We create this file before the command is invoked! # We create this file before the command is invoked!
<file name="log/test9.txt"> <file name="log/test71.txt">
foo- foo-
This is a moo- This is a moo-
bar bar
@@ -45,7 +45,7 @@ User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 z
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 411 Content-Length: 412
Expect: 100-continue Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763 Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
@@ -58,7 +58,7 @@ Content-Disposition: form-data; name="tool"
curl curl
------------------------------9ef8d6205763 ------------------------------9ef8d6205763
Content-Disposition: form-data; name="file"; filename="log/test9.txt" Content-Disposition: form-data; name="file"; filename="log/test71.txt"
Content-Type: text/plain Content-Type: text/plain
foo- foo-