xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | PASV | ||||
6 | RETR | ||||
7 | PRET | ||||
8 | </keywords> | ||||
9 | </info> | ||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | |||||
13 | <servercmd> | ||||
14 | REPLY PRET 550 unknown command | ||||
15 | </servercmd> | ||||
16 | </reply> | ||||
17 | |||||
18 | # Client-side | ||||
19 | <client> | ||||
20 | <server> | ||||
21 | ftp | ||||
22 | </server> | ||||
23 | <name> | ||||
24 | FTP RETR PASV with PRET not supported | ||||
25 | </name> | ||||
26 | <command> | ||||
27 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-pret | ||||
28 | </command> | ||||
29 | |||||
30 | </client> | ||||
31 | |||||
32 | # Verify data after the test has been "shot" | ||||
33 | <verify> | ||||
34 | <protocol> | ||||
35 | USER anonymous | ||||
36 | PASS ftp@example.com | ||||
37 | PWD | ||||
38 | PRET RETR %TESTNUMBER | ||||
39 | </protocol> | ||||
40 | # we expect that the server doesn't understand PRET | ||||
41 | <errorcode> | ||||
42 | 84 | ||||
43 | </errorcode> | ||||
44 | </verify> | ||||
45 | </testcase> |