aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test237
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-15 12:33:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-15 12:33:08 +0000
commit9a5c21c16f12fc3a54f94cad5a95b14e794e9009 (patch)
tree551b6cf16afdaa51d9583fb038740d676c89bf08 /tests/data/test237
parent06ffb47ef23169b016745d4407e1e3278e5f78aa (diff)
test EPSV and PASV response handling when they get well-formated data back
but using illegal values
Diffstat (limited to 'tests/data/test237')
-rw-r--r--tests/data/test23734
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/test237 b/tests/data/test237
new file mode 100644
index 000000000..1a5f0e275
--- /dev/null
+++ b/tests/data/test237
@@ -0,0 +1,34 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP getting bad host in 227-response to PASV
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/237 --disable-epsv
+</command>
+<file name="log/ftpserver.cmd">
+REPLY PASV 227 Entering Passiv Mode (1218,91,256,127,127,127)
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+# curl: (15) Can't resolve new host 1218.91.256.127:32639
+# 15 => CURLE_FTP_CANT_GET_HOST
+<errorcode>
+15
+</errorcode>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PASV
+</protocol>
+</verify>