tizen 2.3.1 release
[external/curl.git] / tests / data / test1233
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 </keywords>
6 </info>
7
8 # Server-side
9 <reply>
10 <servercmd>
11 # Assuming there's nothing listening on port 1
12 REPLY EPSV 229 Entering Passiv Mode (|||1|)
13 </servercmd>
14 <data>
15 here are some bytes
16 </data>
17 </reply>
18
19 # Client-side
20 <client>
21 <server>
22 ftp
23 </server>
24  <name>
25 FTP failing to connect to EPSV port, switching to PASV
26  </name>
27  <command>
28 ftp://%HOSTIP:%FTPPORT/1233
29 </command>
30 </client>
31
32 # Verify data after the test has been "shot"
33 <verify>
34 <protocol>
35 USER anonymous\r
36 PASS ftp@example.com\r
37 PWD\r
38 EPSV\r
39 PASV\r
40 TYPE I\r
41 SIZE 1233\r
42 RETR 1233\r
43 QUIT\r
44 </protocol>
45 </verify>
46 </testcase>