blob: 7e4d2bff501272b767fc46597084568ae0bd7f7b [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001<testcase>
2<info>
3<keywords>
4FTP
5FTPS
6PASV
7LIST
8CCC
9FAILURE
10</keywords>
11</info>
12#
13# Server-side
14<reply>
15# When doing LIST, we get the default list output hard-coded in the test
16# FTPS server
17<datacheck mode="text">
18total 20
19drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
20drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
21drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
22-r--r--r-- 1 0 1 35 Jul 16 1996 README
23lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
24dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
25drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
26dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
27drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
28dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
29</datacheck>
30</reply>
31
32#
33# Client-side
34<client>
35<features>
36SSL
37</features>
38<server>
39ftps
40</server>
41 <name>
42FTPS with CCC not supported by server
43 </name>
44 <command>
45-k --ftp-ssl-control --ftp-ssl-ccc ftps://%HOSTIP:%FTPSPORT/
46</command>
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52<protocol>
53USER anonymous
54PASS ftp@example.com
55PBSZ 0
56PROT C
57CCC
58PWD
59EPSV
60TYPE A
61LIST
62QUIT
63</protocol>
64</verify>
65</testcase>