diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-07-11 05:08:06 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-07-11 05:08:06 +0000 |
commit | 8d49a8f2787676bfe8621f1e0cdb9f42ac23c809 (patch) | |
tree | f862b6ae7363f6fabbfecb70b86d695a5a80fde4 /tests/data/test1039 | |
parent | b4b6cfdb1cdbac5fe0db690d4a3248f94dcb8446 (diff) |
Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
uploads with -C - didn't resume properly, but the tests pass.
Diffstat (limited to 'tests/data/test1039')
-rw-r--r-- | tests/data/test1039 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/test1039 b/tests/data/test1039 new file mode 100644 index 000000000..654d836d2 --- /dev/null +++ b/tests/data/test1039 @@ -0,0 +1,53 @@ +<testcase> +<info> +<keywords> +FTP +EPSV +APPE +Resume +</keywords> +</info> +# Server-side +<reply> +<size> +0 +</size> +</reply> + +# Client-side +<client> +<server> +ftp +</server> + <name> +FTP PASV upload resume from end of empty file + </name> + <command> +ftp://%HOSTIP:%FTPPORT/1039 -T log/upload1039 -C - +</command> +<file name="log/upload1039"> +this is the *****cr@p******** that we're gonna upload + +worx? +</file> +</client> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE I
+SIZE 1039
+STOR 1039
+QUIT
+</protocol> +<upload> +this is the *****cr@p******** that we're gonna upload + +worx? +</upload> +</verify> +</testcase> |