Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test261
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 EPSV
6 RETR
7 </keywords>
8 </info>
9 #
10 # Server-side
11 <reply>
12 <data>
13 hepp
14 </data>
15 <servercmd>
16 REPLY TYPE 226 Kind of on the positive side!
17 </servercmd>
18 </reply>
19
20 #
21 # Client-side
22 <client>
23 <server>
24 ftp
25 </server>
26  <name>
27 FTP RETR with 226 response code to TYPE
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT/261
31 </command>
32 </client>
33
34 #
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 USER anonymous
39 PASS ftp@example.com
40 PWD
41 EPSV
42 TYPE I
43 SIZE 261
44 RETR 261
45 QUIT
46 </protocol>
47 </verify>
48 </testcase>