Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test290
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 --max-filesize
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <size>
11 85
12 </size>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 ftp
19 </server>
20  <name>
21 FTP download maximum filesize exceeded
22  </name>
23  <command>
24 ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
25 </command>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <errorcode>
31 63
32 </errorcode>
33 <protocol>
34 USER anonymous
35 PASS ftp@example.com
36 PWD
37 EPSV
38 TYPE I
39 SIZE 290
40 QUIT
41 </protocol>
42 </verify>
43 </testcase>