Annotation of embedaddon/curl/tests/data/test144, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: FTP
5: PORT
6: NLST
7: --data-binary
8: </keywords>
9: </info>
10: # Server-side
11: <reply>
12: <data>
13: </data>
14: <servercmd>
15: REPLY NLST 450 No files found
16: </servercmd>
17: </reply>
18:
19: # Client-side
20: <client>
21: <server>
22: ftp
23: </server>
24: <name>
25: FTP NLST dir list without contents, using PORT
26: </name>
27: <command>
28: ftp://%HOSTIP:%FTPPORT/ -P - -l
29: </command>
30: </client>
31:
32: # Verify data after the test has been "shot"
33: <verify>
34: # Strip all valid kinds of PORT and EPRT that curl can send
35: <strip>
36: ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
37: ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
38: </strip>
39: <protocol>
40: USER anonymous
41: PASS ftp@example.com
42: PWD
43: PORT 127,0,0,1,243,212
44: TYPE A
45: NLST
46: QUIT
47: </protocol>
48: </verify>
49: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>