xref: /curl/tests/data/test3027 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5CURLOPT_FILETIME
6MDTM fail
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<servercmd>
13REPLY MDTM 550 Permission denied
14</servercmd>
15<data>
16data blobb
17</data>
18
19# data is sent to stdout
20</reply>
21
22# Client-side
23<client>
24<server>
25ftp
26</server>
27<name>
28Get a file via FTP but 550 after MDTM command
29</name>
30<tool>
31lib3027
32</tool>
33<command option="no-include">
34ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
35</command>
36<stdout>
37data blobb
38</stdout>
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<strip>
44QUIT
45</strip>
46<protocol>
47USER anonymous
48PASS ftp@example.com
49PWD
50MDTM %TESTNUMBER
51EPSV
52TYPE I
53SIZE %TESTNUMBER
54RETR %TESTNUMBER
55QUIT
56</protocol>
57</verify>
58</testcase>
59