xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | EPSV | ||||
6 | RETR | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | <data> | ||||
12 | 0123456789abcdef | ||||
13 | </data> | ||||
14 | </reply> | ||||
15 | |||||
16 | # Client-side | ||||
17 | <client> | ||||
18 | <server> | ||||
19 | ftp | ||||
20 | </server> | ||||
21 | <name> | ||||
22 | FTP with user and no password | ||||
23 | </name> | ||||
24 | <command> | ||||
25 | -u user: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||||
26 | </command> | ||||
27 | </client> | ||||
28 | |||||
29 | # Verify data after the test has been "shot" | ||||
30 | <verify> | ||||
31 | <protocol> | ||||
32 | USER user | ||||
33 | PASS | ||||
34 | PWD | ||||
35 | EPSV | ||||
36 | TYPE I | ||||
37 | SIZE %TESTNUMBER | ||||
38 | RETR %TESTNUMBER | ||||
39 | QUIT | ||||
40 | </protocol> | ||||
41 | </verify> | ||||
42 | </testcase> |