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 stdout
33 <command option="no-output,no-include">
34 ftp://%HOSTIP:%FTPPORT/path/file1354 -O -i -D -
38 # Verify data after the test has been "shot"
42 PASS ftp@example.com
\r
52 <file1 name="log/file1354">
57 <file2 name="log/stdout1354">
59 220- ___| | | | _ \| |
\r
60 220- / __| | | | |_) | |
\r
61 220- | (__| |_| | _ <| |___
\r
62 220 \___|\___/|_| \_\_____|
\r
63 331 We are happy you popped in!
\r
64 230 Welcome you silly person
\r
65 257 "/" is current directory
\r
66 250 CWD command successful.
\r
67 229 Entering Passive Mode (stripped)
68 200 I modify TYPE as you wanted
\r
70 150 Binary data connection for 1354 () (10 bytes).
\r
71 226 File transfer complete
\r
75 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/