xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | SYST | ||||
6 | SITE | ||||
7 | OS400 | ||||
8 | </keywords> | ||||
9 | </info> | ||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | <data nocheck="yes"> | ||||
13 | blabla | ||||
14 | </data> | ||||
15 | <servercmd> | ||||
16 | REPLY PWD 257 "C:/somedir" is the current directory | ||||
17 | REPLY SYST 215 unknown-OS runs this server | ||||
18 | </servercmd> | ||||
19 | </reply> | ||||
20 | |||||
21 | # Client-side | ||||
22 | <client> | ||||
23 | <server> | ||||
24 | ftp | ||||
25 | </server> | ||||
26 | <name> | ||||
27 | FTP non-OS/400 server | ||||
28 | </name> | ||||
29 | <command> | ||||
30 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER | ||||
31 | </command> | ||||
32 | </client> | ||||
33 | |||||
34 | # Verify data after the test has been "shot" | ||||
35 | <verify> | ||||
36 | <protocol> | ||||
37 | USER anonymous | ||||
38 | PASS ftp@example.com | ||||
39 | PWD | ||||
40 | SYST | ||||
41 | EPSV | ||||
42 | TYPE I | ||||
43 | SIZE %TESTNUMBER | ||||
44 | RETR %TESTNUMBER | ||||
45 | QUIT | ||||
46 | </protocol> | ||||
47 | </verify> | ||||
48 | </testcase> |