xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | FAILURE | ||||
6 | </keywords> | ||||
7 | </info> | ||||
8 | # Server-side | ||||
9 | <reply> | ||||
10 | <servercmd> | ||||
11 | REPLY CWD 314 bluah you f00l! | ||||
12 | </servercmd> | ||||
13 | </reply> | ||||
14 | |||||
15 | # Client-side | ||||
16 | <client> | ||||
17 | <server> | ||||
18 | ftp | ||||
19 | </server> | ||||
20 | <name> | ||||
21 | FTP download, failed CWD | ||||
22 | </name> | ||||
23 | <command> | ||||
24 | ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER | ||||
25 | </command> | ||||
26 | </client> | ||||
27 | |||||
28 | # Verify data after the test has been "shot" | ||||
29 | <verify> | ||||
30 | <errorcode> | ||||
31 | 9 | ||||
32 | </errorcode> | ||||
33 | <protocol> | ||||
34 | USER anonymous | ||||
35 | PASS ftp@example.com | ||||
36 | PWD | ||||
37 | CWD path | ||||
38 | QUIT | ||||
39 | </protocol> | ||||
40 | </verify> | ||||
41 | </testcase> |