xref: /curl/tests/data/test1036 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7Resume
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data nocheck="yes">
14expected to be a file without the first part
15but we emulate that
16</data>
17<size>
1885
19</size>
20<servercmd>
21REPLY EPSV 500 no such command
22</servercmd>
23</reply>
24
25# Client-side
26<client>
27<server>
28ftp
29</server>
30<name>
31FTP download resume from end of file
32</name>
33<command>
34ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
35</command>
36<file name="%LOGDIR/curl%TESTNUMBER.out">
37This is the start!!
38</file>
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47EPSV
48PASV
49TYPE I
50SIZE %TESTNUMBER
51REST 20
52RETR %TESTNUMBER
53QUIT
54</protocol>
55<file name="%LOGDIR/curl%TESTNUMBER.out">
56This is the start!!
57expected to be a file without the first part
58but we emulate that
59</file>
60</verify>
61</testcase>
62