blob: e35c674b3a0ab9836bb4dbe0709bec4a6d7252f0 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5RETR
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12fooo
13mooo
14</data>
15</reply>
16
17# Client-side
18<client>
19<server>
20ftp
21</server>
22<name>
23FTP DL, file without C-D inside, using -o fname -i, without -D
24</name>
25<command option="no-output,no-include">
26ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i
27</command>
28<postcheck>
29perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
30</postcheck>
31</client>
32
33# Verify data after the test has been "shot"
34<verify>
35<protocol>
36USER anonymous
37PASS ftp@example.com
38PWD
39CWD path
40EPSV
41TYPE I
42SIZE file%TESTNUMBER
43RETR file%TESTNUMBER
44QUIT
45</protocol>
46
47<file1 name="log/download%TESTNUMBER">
48fooo
49mooo
50</file1>
51
52<file2 name="log/stdout%TESTNUMBER">
53</file2>
54
55</verify>
56</testcase>