Commit 109cbbe9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added test135 ftp byte-range download

parent fd3881ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,5 +16,5 @@ test105 test114 test123 test19 test24 test302 test43 test31 \
test106  test115  test124  test190  test25   test303  test44   test38 \
test107  test116  test125  test2    test26   test33   test45   test126 \
test304  test39   test32   test128  test48 \
test130  test131  test132  test133  test134
test130  test131  test132  test133  test134 test135

tests/data/test135

0 → 100644
+39 −0
Original line number Diff line number Diff line
# Server-side
<reply>
<data>
0123456789abcdef
0123456789abcdef
0123456789abcdef
0123456789abcdef
</data>
<datacheck nonewline=yes>
0123456789abc
</datacheck>
<size>
64
</size>
</reply>

# Client-side
<client>
 <name>
FTP retrieve a byte-range
 </name>
 <command>
-r 4-16 ftp://%HOSTIP:%FTPPORT/135
</command>
</test>

# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
EPSV
TYPE I
SIZE 135
REST 4
RETR 135
</protocol>
</verify>