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