aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test270
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-04 05:16:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-04 05:16:06 +0000
commit7e845e7cfdd658caccc60f687d5d5d68d7e88937 (patch)
treef5937f8827f2f1f9ea2073dd640545045a17c459 /tests/data/test270
parent56d9624b566ac15ffb4b4b6eef220a5000b767e0 (diff)
Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip
Diffstat (limited to 'tests/data/test270')
-rw-r--r--tests/data/test27048
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test270 b/tests/data/test270
new file mode 100644
index 000000000..6c47b559e
--- /dev/null
+++ b/tests/data/test270
@@ -0,0 +1,48 @@
+<info>
+<keywords>
+FTP
+PASV
+RETR
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</data>
+<servercmd>
+PASVBADIP
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP RETR PASV --ftp-skip-pasv-ip
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+PASV
+TYPE I
+SIZE 270
+RETR 270
+QUIT
+</protocol>
+</verify>