a4df8cbf1d6d3ff845551756ed0e1bfcd2705756
[platform/upstream/curl.git] / tests / data / test143
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 RETR
6 type=
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data>
12 bla bla bla
13 </data>
14 </reply>
15
16 # Client-side
17 <client>
18 <server>
19 ftp
20 </server>
21  <name>
22 FTP URL with type=a
23  </name>
24  <command>
25 "ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/143;type=a"
26 </command>
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 /tmp\r
36 CWD moo\r
37 EPSV\r
38 TYPE A\r
39 SIZE 143\r
40 RETR 143\r
41 QUIT\r
42 </protocol>
43 </verify>
44 </testcase>