diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-07-22 10:08:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-07-22 10:08:59 +0000 |
commit | 4bbcc47f3f3a81ada6e7d620400c1388d6161e88 (patch) | |
tree | 0b95e077ad0489494b78c7a66aeded94bffe4793 /tests/data/test354 | |
parent | 8ab495a0889623e46487764a5ff90b1f1bb1bb0e (diff) |
Added test case 354 that makes a simple FTP retrieval without password, which
verifies the bug fix in #1757328.
Diffstat (limited to 'tests/data/test354')
-rw-r--r-- | tests/data/test354 | 50 |
1 files changed, 50 insertions, 0 deletions
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> |