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