12 # file1390 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=name1390; charset=funny; option=strange
32 FTP DL, file with C-D inside, using -o fname -J -D stdout
34 <command option="no-output,no-include">
35 ftp://%HOSTIP:%FTPPORT/path/file1390 -o log/download1390 -J -D -
38 perl %SRCDIR/libtest/notexists.pl log/file1390 log/name1390
42 # Verify data after the test has been "shot"
46 PASS ftp@example.com
\r
56 <file1 name="log/download1390">
58 Date: Thu, 09 Nov 2010 14:49:00 GMT
59 Server: test-server/fake
62 Content-Type: text/html
63 Content-Disposition: filename=name1390; charset=funny; option=strange
68 <file2 name="log/stdout1390">
70 220- ___| | | | _ \| |
\r
71 220- / __| | | | |_) | |
\r
72 220- | (__| |_| | _ <| |___
\r
73 220 \___|\___/|_| \_\_____|
\r
74 331 We are happy you popped in!
\r
75 230 Welcome you silly person
\r
76 257 "/" is current directory
\r
77 250 CWD command successful.
\r
78 229 Entering Passive Mode (stripped)
79 200 I modify TYPE as you wanted
\r
81 150 Binary data connection for 1390 () (214 bytes).
\r
82 226 File transfer complete
\r
85 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/