mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
77268e0649
it disconnects the TCP connection, like a good ftp client should!
44 lines
526 B
Plaintext
44 lines
526 B
Plaintext
# Server-side
|
|
<reply>
|
|
<data>
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
0123456789abcdef
|
|
</data>
|
|
<datacheck nonewline=yes>
|
|
0123456789abc
|
|
</datacheck>
|
|
<size>
|
|
64
|
|
</size>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<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
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|