tizen 2.3.1 release
[external/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\r
39 PASS ftp@example.com\r
40 PWD\r
41 CWD a\r
42 CWD path\r
43 EPSV\r
44 PASV\r
45 TYPE I\r
46 SIZE 211\r
47 RETR 211\r
48 PASV\r
49 SIZE 211\r
50 RETR 211\r
51 QUIT\r
52 </protocol>
53 </verify>
54 </testcase>