xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | EPSV | ||||
6 | TYPE A | ||||
7 | RETR | ||||
8 | type= | ||||
9 | </keywords> | ||||
10 | </info> | ||||
11 | # Server-side | ||||
12 | <reply> | ||||
13 | <data> | ||||
14 | data | ||||
15 | to | ||||
16 | see | ||||
17 | that FTP | ||||
18 | works | ||||
19 | so does it? | ||||
20 | </data> | ||||
21 | </reply> | ||||
22 | |||||
23 | # Client-side | ||||
24 | <client> | ||||
25 | <server> | ||||
26 | ftp | ||||
27 | </server> | ||||
28 | <name> | ||||
29 | FTP GET with type=A style ASCII URL using %20 codes | ||||
30 | </name> | ||||
31 | <command> | ||||
32 | "ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A" | ||||
33 | </command> | ||||
34 | </client> | ||||
35 | |||||
36 | # Verify data after the test has been "shot" | ||||
37 | <verify> | ||||
38 | <protocol> | ||||
39 | USER anonymous | ||||
40 | PASS ftp@example.com | ||||
41 | PWD | ||||
42 | CWD / | ||||
43 | CWD path with spaces | ||||
44 | CWD and things2 | ||||
45 | EPSV | ||||
46 | TYPE A | ||||
47 | RETR %TESTNUMBER | ||||
48 | QUIT | ||||
49 | </protocol> | ||||
50 | </verify> | ||||
51 | </testcase> |