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 nocheck="yes"> | ||||
12 | data | ||||
13 | to | ||||
14 | see | ||||
15 | that FTP | ||||
16 | works | ||||
17 | so does it? | ||||
18 | </data> | ||||
19 | <servercmd> | ||||
20 | REPLY EPSV 500 no such command | ||||
21 | </servercmd> | ||||
22 | </reply> | ||||
23 | |||||
24 | # Client-side | ||||
25 | <client> | ||||
26 | <server> | ||||
27 | ftp | ||||
28 | </server> | ||||
29 | <name> | ||||
30 | FTP first type=A then regular URL | ||||
31 | </name> | ||||
32 | <tool> | ||||
33 | lib%TESTNUMBER | ||||
34 | </tool> | ||||
35 | <command> | ||||
36 | "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||||
37 | </command> | ||||
38 | |||||
39 | </client> | ||||
40 | |||||
41 | # Verify data after the test has been "shot" | ||||
42 | <verify> | ||||
43 | <protocol> | ||||
44 | USER anonymous | ||||
45 | PASS ftp@example.com | ||||
46 | PWD | ||||
47 | EPSV | ||||
48 | PASV | ||||
49 | TYPE A | ||||
50 | RETR %TESTNUMBER | ||||
51 | PASV | ||||
52 | TYPE I | ||||
53 | SIZE %TESTNUMBER | ||||
54 | RETR %TESTNUMBER | ||||
55 | QUIT | ||||
56 | </protocol> | ||||
57 | </verify> | ||||
58 | <stdout> | ||||
59 | data | ||||
60 | to | ||||
61 | see | ||||
62 | that FTP | ||||
63 | works | ||||
64 | so does it? | ||||
65 | data | ||||
66 | to | ||||
67 | see | ||||
68 | that FTP | ||||
69 | works | ||||
70 | so does it? | ||||
71 | </stdout> | ||||
72 | |||||
73 | </testcase> |