aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test182
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-23 14:41:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-23 14:41:19 +0000
commitb233c13dca62fccb6223f249448f2e4c67acaa91 (patch)
tree89872a9f332407bee7eb9a9e74ad7ec6d4503174 /tests/data/test182
parent464be27479925e727eea688da93704aff7e17a1e (diff)
verify that transferring a zero byte FTP file results in a zero byte local
file
Diffstat (limited to 'tests/data/test182')
-rw-r--r--tests/data/test18235
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test182 b/tests/data/test182
new file mode 100644
index 000000000..5eac8b708
--- /dev/null
+++ b/tests/data/test182
@@ -0,0 +1,35 @@
+# Server-side
+<reply>
+<data sendzero=yes>
+</data>
+<size>
+0
+</size>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<name>
+FTP download an empty file
+</name>
+<command>
+ftp://%HOSTIP:%FTPPORT/182
+</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 182
+RETR 182
+QUIT
+</protocol>
+</verify>