From 4bbcc47f3f3a81ada6e7d620400c1388d6161e88 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Sun, 22 Jul 2007 10:08:59 +0000 Subject: Added test case 354 that makes a simple FTP retrieval without password, which verifies the bug fix in #1757328. --- tests/data/test354 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test354 (limited to 'tests/data/test354') diff --git a/tests/data/test354 b/tests/data/test354 new file mode 100644 index 000000000..a6949328a --- /dev/null +++ b/tests/data/test354 @@ -0,0 +1,50 @@ +<testcase> +<info> +<keywords> +FTP +PASV +RETR +</keywords> +</info> +# Server-side +<reply> +<data> +data + to + see +that FTP +works + so does it? +</data> +<servercmd> +REPLY USER 200 fine, proceed without password +</servercmd> +</reply> + +# Client-side +<client> +<server> +ftp +</server> + <name> +FTP without password + </name> + <command> +ftp://%HOSTIP:%FTPPORT/354 +</command> + +</client> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous +PWD +EPSV +TYPE I +SIZE 354 +RETR 354 +QUIT +</protocol> +</verify> +</testcase> -- cgit v1.2.1