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