xref: /curl/tests/data/test248 (revision cd4aee15)
1<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="%LOGDIR/test%TESTNUMBER.txt">
23data
24    to
25      see
26that FTP
27works
28  so does it?
29</file>
30<command>
31ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/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<strip>
38QUIT
39</strip>
40<upload>
41data
42    to
43      see
44that FTP
45works
46  so does it?
47</upload>
48<protocol>
49USER anonymous
50PASS ftp@example.com
51PWD
52MDTM %TESTNUMBER
53EPSV
54TYPE I
55STOR %TESTNUMBER
56QUIT
57</protocol>
58</verify>
59</testcase>
60