blob: 8881c99d57d9c2b9c699344a9cca6d34213d56a7 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8<reply>
9<mdtm>
10213 20050409102659
11</mdtm>
12</reply>
13
14# Client-side
15<client>
16<server>
17ftp
18</server>
19 <name>
20FTP upload time condition evaluates FALSE => upload anyway
21 </name>
22<file name="log/test%TESTNUMBER.txt">
23data
24 to
25 see
26that FTP
27works
28 so does it?
29</file>
30 <command>
31ftp://%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>
38data
39 to
40 see
41that FTP
42works
43 so does it?
44</upload>
45<protocol>
46USER anonymous
47PASS ftp@example.com
48PWD
49MDTM %TESTNUMBER
50EPSV
51TYPE I
52STOR %TESTNUMBER
53QUIT
54</protocol>
55</verify>
56</testcase>