11 # file1387 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=name1387; charset=funny; option=strange
31 FTP DL, file with C-D inside, using -o fname -D file
33 <command option="no-output,no-include">
34 ftp://%HOSTIP:%FTPPORT/path/file1387 -o log/download1387 -D log/heads1387
37 perl %SRCDIR/libtest/notexists.pl log/file1387 log/name1387
41 # Verify data after the test has been "shot"
45 PASS ftp@example.com
\r
55 <file1 name="log/download1387">
57 Date: Thu, 09 Nov 2010 14:49:00 GMT
58 Server: test-server/fake
61 Content-Type: text/html
62 Content-Disposition: filename=name1387; charset=funny; option=strange
67 <file2 name="log/heads1387">
69 220- ___| | | | _ \| |
\r
70 220- / __| | | | |_) | |
\r
71 220- | (__| |_| | _ <| |___
\r
72 220 \___|\___/|_| \_\_____|
\r
73 331 We are happy you popped in!
\r
74 230 Welcome you silly person
\r
75 257 "/" is current directory
\r
76 250 CWD command successful.
\r
77 229 Entering Passive Mode (stripped)
78 200 I modify TYPE as you wanted
\r
80 150 Binary data connection for 1387 () (214 bytes).
\r
81 226 File transfer complete
\r
84 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
87 <file3 name="log/stdout1387">