xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | NOBODY | ||||
6 | </keywords> | ||||
7 | </info> | ||||
8 | # Server-side | ||||
9 | <reply> | ||||
10 | <data> | ||||
11 | </data> | ||||
12 | <size> | ||||
13 | 42 | ||||
14 | </size> | ||||
15 | <mdtm> | ||||
16 | 213 20030409102659 | ||||
17 | </mdtm> | ||||
18 | </reply> | ||||
19 | |||||
20 | # Client-side | ||||
21 | <client> | ||||
22 | <server> | ||||
23 | ftp | ||||
24 | </server> | ||||
25 | <name> | ||||
26 | FTP download info with -I | ||||
27 | </name> | ||||
28 | <command> | ||||
29 | ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -I | ||||
30 | </command> | ||||
31 | </client> | ||||
32 | |||||
33 | # Verify data after the test has been "shot" | ||||
34 | <verify> | ||||
35 | <protocol> | ||||
36 | USER anonymous | ||||
37 | PASS ftp@example.com | ||||
38 | PWD | ||||
39 | CWD blalbla | ||||
40 | MDTM %TESTNUMBER | ||||
41 | TYPE I | ||||
42 | SIZE %TESTNUMBER | ||||
43 | REST 0 | ||||
44 | QUIT | ||||
45 | </protocol> | ||||
46 | <stdout> | ||||
47 | Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT | ||||
48 | Content-Length: 42 | ||||
49 | Accept-ranges: bytes | ||||
50 | </stdout> | ||||
51 | </verify> | ||||
52 | </testcase> |