diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-07-26 20:09:36 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-07-26 20:09:36 +0000 |
commit | e06944438a798812caca36de6a95e74cea66c70e (patch) | |
tree | b7e6008c5c2c41842ef4997038c8890c59fbc807 /tests/data/test1044 | |
parent | fa1009b6fcfa2af29fd41ca29b5ec6dd767fc146 (diff) | |
download | curl-e06944438a798812caca36de6a95e74cea66c70e.tar.gz |
Added test 1044 to test large file support in ftp with -I.
Diffstat (limited to 'tests/data/test1044')
-rw-r--r-- | tests/data/test1044 | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/data/test1044 b/tests/data/test1044 new file mode 100644 index 000000000..a95f5681d --- /dev/null +++ b/tests/data/test1044 @@ -0,0 +1,58 @@ +<testcase> +# Similar to test141 +<info> +<keywords> +FTP +NOBODY +Largefile +</keywords> +</info> + +# Server-side +<reply> +<data> +</data> +<size> +9999999999 +</size> +<mdtm> +213 20080726102659 +</mdtm> +</reply> + +# Client-side +<client> +<features> +large_file +</features> +<server> +ftp +</server> + <name> +FTP download large file info with -I + </name> + <command> +ftp://%HOSTIP:%FTPPORT/blalbla/1044 -I +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS ftp@example.com
+PWD
+CWD blalbla
+MDTM 1044
+TYPE I
+SIZE 1044
+REST 0
+QUIT
+</protocol> +<stdout> +Last-Modified: Sat, 26 Jul 2008 10:26:59 GMT
+Content-Length: 9999999999
+Accept-ranges: bytes
+</stdout> +</verify> +</testcase> |