xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | </keywords> | ||||
6 | </info> | ||||
7 | |||||
8 | <reply> | ||||
9 | <mdtm> | ||||
10 | 213 20050409102659 | ||||
11 | </mdtm> | ||||
12 | </reply> | ||||
13 | |||||
14 | # Client-side | ||||
15 | <client> | ||||
16 | <server> | ||||
17 | ftp | ||||
18 | </server> | ||||
19 | <name> | ||||
20 | FTP upload time condition evaluates FALSE => upload anyway | ||||
21 | </name> | ||||
22 | <file name="log/test%TESTNUMBER.txt"> | ||||
23 | data | ||||
24 | to | ||||
25 | see | ||||
26 | that FTP | ||||
27 | works | ||||
28 | so does it? | ||||
29 | </file> | ||||
30 | <command> | ||||
31 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00" | ||||
32 | </command> | ||||
33 | </client> | ||||
34 | |||||
35 | # Verify data after the test has been "shot" | ||||
36 | <verify> | ||||
37 | <upload> | ||||
38 | data | ||||
39 | to | ||||
40 | see | ||||
41 | that FTP | ||||
42 | works | ||||
43 | so does it? | ||||
44 | </upload> | ||||
45 | <protocol> | ||||
46 | USER anonymous | ||||
47 | PASS ftp@example.com | ||||
48 | PWD | ||||
49 | MDTM %TESTNUMBER | ||||
50 | EPSV | ||||
51 | TYPE I | ||||
52 | STOR %TESTNUMBER | ||||
53 | QUIT | ||||
54 | </protocol> | ||||
55 | </verify> | ||||
56 | </testcase> |