summaryrefslogtreecommitdiff
path: root/tests/data/test248
blob: d254a951e1797e432b26d4c2535b76792f6be808 (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/test248.txt">
data
    to
      see
that FTP
works
  so does it?
</file>
 <command>
ftp://%HOSTIP:%FTPPORT/248 -T log/test248.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 248
EPSV
TYPE I
STOR 248
QUIT
</protocol>
</verify>
</testcase>