Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test126
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 EPSV
6 RETR
7 RETRWEIRDO
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data>
13 this is file contents
14 </data>
15 <servercmd>
16 RETRWEIRDO
17 </servercmd>
18 </reply>
19
20 # Client-side
21 <client>
22 <server>
23 ftp
24 </server>
25  <name>
26 FTP download with multiple replies at once in RETR
27  </name>
28  <command>
29 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
30 </command>
31 </client>
32
33 # Verify data after the test has been "shot"
34 <verify>
35 <protocol>
36 USER anonymous
37 PASS ftp@example.com
38 PWD
39 CWD blalbla
40 CWD lululul
41 EPSV
42 TYPE I
43 SIZE 126
44 RETR 126
45 QUIT
46 </protocol>
47 </verify>
48 </testcase>