Debian Codegraph @

curl/tests/data/test101

raw
1 <info>
2 <keywords>
3 FTP
4 PORT
5 LIST
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 total 20
12 drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
13 drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
14 drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
15 -r--r--r-- 1 0 1 35 Jul 16 1996 README
16 lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
17 dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
18 drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
19 dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
20 drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
21 dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
22 </data>
23 </reply>
24
25 # Client-side
26 <client>
27 <server>
28 ftp
29 </server>
30 <name>
31 FTP dir list, PORT with specified IP
32 </name>
33 <command>
34 ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP
35 </command>
36 </client>
37
38 # Verify data after the test has been "shot"
39 <verify>
40 # strip all kinds of PORT, EPRT and LPRT curl can do
41 <strip>
42 ^PORT 127,0,0,1,.*
43 ^EPRT.*
44 ^LPRT.*
45 </strip>
46 <protocol>
47 USER anonymous
48 PASS [email protected]
49 PWD
50 PORT 127,0,0,1,243,212
51 TYPE A
52 LIST
53 QUIT
54 </protocol>
55 </verify>