19 # this relies on the debug feature to allow us to set directory to store the
20 # -O output in, using the CURL_TESTDIR variable
28 FTP download, file without C-D inside, using -O -i -D file
33 <command option="no-output,no-include">
34 ftp://%HOSTIP:%FTPPORT/path/file1353 -O -i -D log/heads1353
38 # Verify data after the test has been "shot"
42 PASS ftp@example.com
\r
52 <file1 name="log/file1353">
57 # The final "221 bye bye baby" response to QUIT will not be recorded
58 # since that is not considered part of this particular transfer!
59 <file2 name="log/heads1353">
61 220- ___| | | | _ \| |
\r
62 220- / __| | | | |_) | |
\r
63 220- | (__| |_| | _ <| |___
\r
64 220 \___|\___/|_| \_\_____|
\r
65 331 We are happy you popped in!
\r
66 230 Welcome you silly person
\r
67 257 "/" is current directory
\r
68 250 CWD command successful.
\r
69 229 Entering Passive Mode (stripped)
70 200 I modify TYPE as you wanted
\r
72 150 Binary data connection for 1353 () (10 bytes).
\r
73 226 File transfer complete
\r
76 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
79 <file3 name="log/stdout1353">