summaryrefslogtreecommitdiff
path: root/tests/data/test248
blob: 8881c99d57d9c2b9c699344a9cca6d34213d56a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<testcase>
<info>
<keywords>
FTP
</keywords>
</info>

<reply>
<mdtm>
213 20050409102659
</mdtm>
</reply>

# Client-side
<client>
<server>
ftp
</server>
 <name>
FTP upload time condition evaluates FALSE => upload anyway
 </name>
<file name="log/test%TESTNUMBER.txt">
data
    to
      see
that FTP
works
  so does it?
</file>
 <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00"
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<upload>
data
    to
      see
that FTP
works
  so does it?
</upload>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
MDTM %TESTNUMBER
EPSV
TYPE I
STOR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>