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 | </keywords> | ||||
8 | </info> | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | <data> | ||||
12 | we can still send data even if pwd fails! | ||||
13 | </data> | ||||
14 | <servercmd> | ||||
15 | REPLY PWD 314 bluah you f00l! | ||||
16 | REPLY EPSV 314 bluah you f00l! | ||||
17 | </servercmd> | ||||
18 | </reply> | ||||
19 | |||||
20 | # Client-side | ||||
21 | <client> | ||||
22 | <server> | ||||
23 | ftp | ||||
24 | </server> | ||||
25 | <name> | ||||
26 | FTP download, failed PWD | ||||
27 | </name> | ||||
28 | <command> | ||||
29 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||||
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 | EPSV | ||||
40 | PASV | ||||
41 | TYPE I | ||||
42 | SIZE %TESTNUMBER | ||||
43 | RETR %TESTNUMBER | ||||
44 | QUIT | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |