11 # file1361 contents...
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake
18 Content-Type: text/html
19 Content-Disposition: filename=name1361; charset=funny; option=strange
27 # this relies on the debug feature to allow us to set directory to store the
28 # -O output in, using the CURL_TESTDIR variable
36 FTP download, file with C-D inside, using -O -i -D file
41 <command option="no-output,no-include">
42 ftp://%HOSTIP:%FTPPORT/path/file1361 -O -i -D log/heads1361
45 perl %SRCDIR/libtest/notexists.pl %PWD/log/name1361
49 # Verify data after the test has been "shot"
53 PASS ftp@example.com
\r
63 <file1 name="log/file1361">
65 Date: Thu, 09 Nov 2010 14:49:00 GMT
66 Server: test-server/fake
69 Content-Type: text/html
70 Content-Disposition: filename=name1361; charset=funny; option=strange
75 <file2 name="log/heads1361">
77 220- ___| | | | _ \| |
\r
78 220- / __| | | | |_) | |
\r
79 220- | (__| |_| | _ <| |___
\r
80 220 \___|\___/|_| \_\_____|
\r
81 331 We are happy you popped in!
\r
82 230 Welcome you silly person
\r
83 257 "/" is current directory
\r
84 250 CWD command successful.
\r
85 229 Entering Passive Mode (stripped)
86 200 I modify TYPE as you wanted
\r
88 150 Binary data connection for 1361 () (214 bytes).
\r
89 226 File transfer complete
\r
93 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
96 <file3 name="log/stdout1361">