12 # file1359 contents...
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Server: test-server/fake
19 Content-Type: text/html
20 Content-Disposition: filename=name1359; charset=funny; option=strange
28 # this relies on the debug feature to allow us to set directory to store the
29 # -O output in, using the CURL_TESTDIR variable
37 FTP download, file with C-D inside, using -O -J -D file
42 <command option="no-output,no-include">
43 ftp://%HOSTIP:%FTPPORT/path/file1359 -O -J -D log/heads1359
46 perl %SRCDIR/libtest/notexists.pl log/name1359
50 # Verify data after the test has been "shot"
54 PASS ftp@example.com
\r
64 <file1 name="log/file1359">
66 Date: Thu, 09 Nov 2010 14:49:00 GMT
67 Server: test-server/fake
70 Content-Type: text/html
71 Content-Disposition: filename=name1359; charset=funny; option=strange
76 <file2 name="log/heads1359">
78 220- ___| | | | _ \| |
\r
79 220- / __| | | | |_) | |
\r
80 220- | (__| |_| | _ <| |___
\r
81 220 \___|\___/|_| \_\_____|
\r
82 331 We are happy you popped in!
\r
83 230 Welcome you silly person
\r
84 257 "/" is current directory
\r
85 250 CWD command successful.
\r
86 229 Entering Passive Mode (stripped)
87 200 I modify TYPE as you wanted
\r
89 150 Binary data connection for 1359 () (214 bytes).
\r
90 226 File transfer complete
\r
94 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
97 <file3 name="log/stdout1359">