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