aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test135
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 12:25:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 12:25:46 +0000
commit109cbbe9c5cd349d692d127d816192b88d5c9890 (patch)
tree6d15c4c150994fdd01c4675134548045e8754972 /tests/data/test135
parentfd3881eaa6b2775b19ef86f7af068e80c69ae6a6 (diff)
added test135 ftp byte-range download
Diffstat (limited to 'tests/data/test135')
-rw-r--r--tests/data/test13539
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test135 b/tests/data/test135
new file mode 100644
index 000000000..ec39ecd0b
--- /dev/null
+++ b/tests/data/test135
@@ -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>