d9cdc0a666ae8d1e134f5a5ed31d11b576424fce
[platform/upstream/curl.git] / tests / data / test1037
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 Resume
8 </keywords>
9 </info>
10
11 # Server-side
12 <reply>
13 <data nocheck="yes">
14 expected to be a file without the first part
15 but we emulate that
16 </data>
17 <size>
18 65
19 </size>
20 <servercmd>
21 REPLY EPSV 500 no such command
22 </servercmd>
23 </reply>
24
25 # Client-side
26 <client>
27 <server>
28 ftp
29 </server>
30  <name>
31 FTP download resume from end of empty file
32  </name>
33  <command>
34 ftp://%HOSTIP:%FTPPORT/1037 -C -
35 </command>
36 <file name="log/curl1037.out">
37 </file>
38 </client>
39
40 # Verify data after the test has been "shot"
41 <verify>
42 <protocol>
43 USER anonymous\r
44 PASS ftp@example.com\r
45 PWD\r
46 EPSV\r
47 PASV\r
48 TYPE I\r
49 SIZE 1037\r
50 RETR 1037\r
51 QUIT\r
52 </protocol>
53 </verify>
54 </testcase>