summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl-7.19.0/tests/data/test135
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl-7.19.0/tests/data/test135')
-rw-r--r--Utilities/cmcurl-7.19.0/tests/data/test13553
1 files changed, 53 insertions, 0 deletions
diff --git a/Utilities/cmcurl-7.19.0/tests/data/test135 b/Utilities/cmcurl-7.19.0/tests/data/test135
new file mode 100644
index 0000000..af97b07
--- /dev/null
+++ b/Utilities/cmcurl-7.19.0/tests/data/test135
@@ -0,0 +1,53 @@
+<testcase>
+<info>
+<keywords>
+FTP
+EPSV
+RETR
+Range
+</keywords>
+</info>
+# 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>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE I
+SIZE 135
+REST 4
+RETR 135
+QUIT
+</protocol>
+</verify>
+</testcase>