blob: 870215d9fffd6490cd0884a570fa3e15a240a5f2 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5PASV
6LIST
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<servercmd>
13REPLY PWD 257 "just one
14</servercmd>
15
16# When doing LIST, we get the default list output hard-coded in the test
17# FTP server
18<data mode="text">
19total 20
20drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
21drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
22drwxr-xr-x 2 98 98 512 May 2 1996 curl-releases
23-r--r--r-- 1 0 1 35 Jul 16 1996 README
24lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
25dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
26drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
27dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
28drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
29dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
30</data>
31</reply>
32
33#
34# Client-side
35<client>
36<server>
37ftp
38</server>
39 <name>
40FTP with uneven quote in PWD response
41 </name>
42 <command>
43ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51USER anonymous
52PASS ftp@example.com
53PWD
54CWD test-%TESTNUMBER
55EPSV
56TYPE A
57LIST
58QUIT
59</protocol>
60</verify>
61</testcase>