1<testcase>
2# Server-side
3<reply>
4# When doing LIST, we get the default list output hard-coded in the test
5# FTP server
6<datacheck>
7total 20
8drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
9drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
10drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
11-r--r--r--   1 0        1             35 Jul 16  1996 README
12lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
13dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
14drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
15dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
16drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
17dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
18</datacheck>
19
20</reply>
21
22# Client-side
23<client>
24<server>
25ftp
26</server>
27 <name>
28Get two FTP dir listings from the same remote dir: no second CWD
29 </name>
30 <command>
31ftp://%HOSTIP:%FTPPORT/a/path/215/ ftp://%HOSTIP:%FTPPORT/a/path/215/
32</command>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD a
42CWD path
43CWD 215
44EPSV
45TYPE A
46LIST
47EPSV
48LIST
49QUIT
50</protocol>
51</verify>
52</testcase>
53