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