mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
added test135 ftp byte-range download
This commit is contained in:
parent
fd3881eaa6
commit
109cbbe9c5
@ -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
|
||||
|
||||
|
39
tests/data/test135
Normal file
39
tests/data/test135
Normal file
@ -0,0 +1,39 @@
|
||||
# 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>
|
Loading…
Reference in New Issue
Block a user