0214effc86886badf48e69635aa0e2c415b08517
[external/curl.git] / tests / data / test211
1 <testcase>
2 # Server-side
3 <reply>
4 <data>
5 data blobb
6 </data>
7 <servercmd>
8 REPLY EPSV 500 no such command
9 </servercmd>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 ftp
16 </server>
17  <name>
18 Get two FTP files with no remote EPSV support
19  </name>
20  <command>
21 ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
22 </command>
23 <stdout>
24 data blobb
25 data blobb
26 </stdout>
27 </client>
28
29 # Verify data after the test has been "shot"
30 <verify>
31 <protocol>
32 USER anonymous\r
33 PASS ftp@example.com\r
34 PWD\r
35 CWD a\r
36 CWD path\r
37 EPSV\r
38 PASV\r
39 TYPE I\r
40 SIZE 211\r
41 RETR 211\r
42 PASV\r
43 SIZE 211\r
44 RETR 211\r
45 QUIT\r
46 </protocol>
47 </verify>
48 </testcase>