11
# file1391 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=name1391; charset=funny; option=strange
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"
55
<file1 name="log/download1391">
57
Date: Thu, 09 Nov 2010 14:49:00 GMT
58
Server: test-server/fake
61
Content-Type: text/html
62
Content-Disposition: filename=name1391; charset=funny; option=strange
67
<file2 name="log/heads1391">
69
220- ___| | | | _ \| |
70
220- / __| | | | |_) | |
71
220- | (__| |_| | _ <| |___
72
220 \___|\___/|_| \_\_____|
73
331 We are happy you popped in!
74
230 Welcome you silly person
75
257 "/" is current directory
76
250 CWD command successful.
77
229 Entering Passive Mode (stripped)
78
200 I modify TYPE as you wanted
80
150 Binary data connection for 1391 () (214 bytes).
81
226 File transfer complete
85
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
88
<file3 name="log/stdout1391">