11 # file1392 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=name1392; charset=funny; option=strange
\r
31 FTP DL, file with C-D inside, using -o fname -i -D stdout
33 <command option="no-output,no-include">
34 ftp://%HOSTIP:%FTPPORT/path/file1392 -o log/download1392 -i -D -
37 perl %SRCDIR/libtest/notexists.pl log/file1392 log/name1392
41 # Verify data after the test has been "shot"
45 PASS ftp@example.com
\r
55 <file1 name="log/download1392">
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=name1392; charset=funny; option=strange
\r
67 <file2 name="log/stdout1392">
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 1392 () (222 bytes).
\r
81 226 File transfer complete
\r
84 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/