Git init
[external/curl.git] / tests / data / test138
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 RETR
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 this is file contents
12 </data>
13 <size>
14 -1
15 </size>
16 <servercmd>
17 RETRNOSIZE
18 </servercmd>
19 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 ftp
25 </server>
26  <name>
27 FTP download without size in RETR string and no SIZE command
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
31 </command>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <protocol>
37 USER anonymous\r
38 PASS ftp@example.com\r
39 PWD\r
40 CWD blalbla\r
41 CWD lululul\r
42 EPSV\r
43 TYPE I\r
44 SIZE 138\r
45 RETR 138\r
46 QUIT\r
47 </protocol>
48 </verify>
49 </testcase>