Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test211
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 </keywords>
6 </info>
7
8 # Server-side
9 <reply>
10 <data>
11 data blobb
12 </data>
13 <servercmd>
14 REPLY EPSV 500 no such command
15 </servercmd>
16 </reply>
17
18 # Client-side
19 <client>
20 <server>
21 ftp
22 </server>
23  <name>
24 Get two FTP files with no remote EPSV support
25  </name>
26  <command>
27 ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
28 </command>
29 <stdout>
30 data blobb
31 data blobb
32 </stdout>
33 </client>
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 CWD a
42 CWD path
43 EPSV
44 PASV
45 TYPE I
46 SIZE 211
47 RETR 211
48 PASV
49 SIZE 211
50 RETR 211
51 QUIT
52 </protocol>
53 </verify>
54 </testcase>