xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | </keywords> | ||||
6 | </info> | ||||
7 | |||||
8 | # Server-side | ||||
9 | <reply> | ||||
10 | <data> | ||||
11 | data blobb | ||||
12 | </data> | ||||
13 | <servercmd> | ||||
14 | REPLY EPSV 500 no such command | ||||
15 | </servercmd> | ||||
16 | </reply> | ||||
17 | |||||
18 | # Client-side | ||||
19 | <client> | ||||
20 | <server> | ||||
21 | ftp | ||||
22 | </server> | ||||
23 | <name> | ||||
24 | Get two FTP files with no remote EPSV support | ||||
25 | </name> | ||||
26 | <command> | ||||
27 | ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER | ||||
28 | </command> | ||||
29 | <stdout> | ||||
30 | data blobb | ||||
31 | data blobb | ||||
32 | </stdout> | ||||
33 | </client> | ||||
34 | |||||
35 | # Verify data after the test has been "shot" | ||||
36 | <verify> | ||||
37 | <protocol> | ||||
38 | USER anonymous | ||||
39 | PASS ftp@example.com | ||||
40 | PWD | ||||
41 | CWD a | ||||
42 | CWD path | ||||
43 | EPSV | ||||
44 | PASV | ||||
45 | TYPE I | ||||
46 | SIZE %TESTNUMBER | ||||
47 | RETR %TESTNUMBER | ||||
48 | PASV | ||||
49 | SIZE %TESTNUMBER | ||||
50 | RETR %TESTNUMBER | ||||
51 | QUIT | ||||
52 | </protocol> | ||||
53 | </verify> | ||||
54 | </testcase> |