Annotation of embedaddon/curl/tests/data/test108, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: FTP
5: PORT
6: STOR
7: </keywords>
8: </info>
9: # Server-side
10: <reply>
11: <data>
12: </data>
13: </reply>
14:
15: # Client-side
16: <client>
17: <server>
18: ftp
19: </server>
20: <name>
21: FTP PORT upload with CWD
22: </name>
23: <command>
24: ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
25: </command>
26: <file name="log/upload108">
27: Moooooooooooo
28: upload this
29: </file>
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: CWD CWD
44: CWD STOR
45: CWD RETR
46: PORT 127,0,0,1,5,109
47: TYPE I
48: STOR 108
49: QUIT
50: </protocol>
51: <upload>
52: Moooooooooooo
53: upload this
54: </upload>
55: </verify>
56: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>