blob: 6d7aeb620bd1867b659b3ea47dca41c10591847b [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47MDTM %TESTNUMBER
48EPSV
49TYPE I
50SIZE %TESTNUMBER
51RETR %TESTNUMBER
52QUIT
53</protocol>
54</verify>
55</testcase>