diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-05 21:07:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-05 21:07:27 +0000 |
commit | 6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009 (patch) | |
tree | 417460d104cdeb23c32a38a6c2c6c8519415bdc1 /tests/data/test248 | |
parent | ee44eec3e1b60793888aacce966880e73f69eca6 (diff) | |
download | curl-6a6c0e7a734ea4bc0ad45e18c24ebc5732dc9009.tar.gz |
test time-conditioned FTP uploads
Diffstat (limited to 'tests/data/test248')
-rw-r--r-- | tests/data/test248 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test248 b/tests/data/test248 new file mode 100644 index 000000000..3fc3fc14b --- /dev/null +++ b/tests/data/test248 @@ -0,0 +1,48 @@ +<reply> +<mdtm> +213 20050409102659 +</mdtm> +</reply> + +# Client-side +<client> +<server> +ftp +</server> + <name> +FTP upload time condition evaluates FALSE => upload anyway + </name> +<file name="log/test248.txt"> +data + to + see +that FTP +works + so does it? +</file> + <command> +ftp://%HOSTIP:%FTPPORT/248 -T log/test248.txt -z "apr 1 2005 08:00:00" +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<upload> +data + to + see +that FTP +works + so does it? +</upload> +<protocol> +USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+MDTM 248
+EPSV
+TYPE I
+STOR 248
+QUIT
+</protocol> +</verify> |