lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | EPSV | ||||
6 | APPE | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | <data> | ||||
12 | </data> | ||||
13 | </reply> | ||||
14 | |||||
15 | # Client-side | ||||
16 | <client> | ||||
17 | <server> | ||||
18 | ftp | ||||
19 | </server> | ||||
20 | <name> | ||||
21 | FTP PASV upload append | ||||
22 | </name> | ||||
23 | <command> | ||||
24 | ftp://%HOSTIP:%FTPPORT/109 -T log/upload109 --append | ||||
25 | </command> | ||||
26 | <file name="log/upload109"> | ||||
27 | Moooooooooooo | ||||
28 | upload this | ||||
29 | </file> | ||||
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 | EPSV | ||||
39 | TYPE I | ||||
40 | APPE 109 | ||||
41 | QUIT | ||||
42 | </protocol> | ||||
43 | <upload> | ||||
44 | Moooooooooooo | ||||
45 | upload this | ||||
46 | </upload> | ||||
47 | </verify> | ||||
48 | </testcase> |