11 # file1391 contents...
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
15 Server: test-server/fake
\r
18 Content-Type: text/html
\r
19 Content-Disposition: filename=name1391; charset=funny; option=strange
\r
31 FTP DL, file with C-D inside, using -o fname -i -D file
33 <command option="no-output,no-include">
34 ftp://%HOSTIP:%FTPPORT/path/file1391 -o log/download1391 -i -D log/heads1391
37 perl %SRCDIR/libtest/notexists.pl log/file1391 log/name1391
41 # Verify data after the test has been "shot"
45 PASS ftp@example.com
\r
55 <file1 name="log/download1391">
57 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
58 Server: test-server/fake
\r
61 Content-Type: text/html
\r
62 Content-Disposition: filename=name1391; charset=funny; option=strange
\r
67 <file2 name="log/heads1391">
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 1391 () (222 bytes).
\r
81 226 File transfer complete
\r
84 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
87 <file3 name="log/stdout1391">