diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-21 09:32:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-21 09:32:32 +0000 |
commit | 7e42cb61f75890832792c082510ec610f4c32cbe (patch) | |
tree | 3c73a5796491a7ad59dfa1d2e151141d02e276ad /tests/data/test231 | |
parent | 6c038680f9a0de30f2a0b60c1e02bfb74006c851 (diff) |
FTP third transfer support overhaul. See CHANGES for details.
Diffstat (limited to 'tests/data/test231')
-rw-r--r-- | tests/data/test231 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/data/test231 b/tests/data/test231 new file mode 100644 index 000000000..10ab24c48 --- /dev/null +++ b/tests/data/test231 @@ -0,0 +1,51 @@ +# +# Server-side +<reply> +<data nocheck=1> +contents of source file 231 +</data> +</reply> + +# +# Client-side +<client> +<server> +ftp +ftp2 +</server> + <name> +FTP 3rd party transfer, make target use PORT + </name> + <command> +ftp://%HOSTIP:%FTPPORT/dest/destpath/231 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/231 --3p-user daniel2:stenberg2 -P - +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +# target-side protocol check +<strippart>> +s/^(PORT 127,0,0,1).*/$1/ +</strippart> +<protocol> +USER daniel
+PASS stenberg
+PWD
+TYPE I
+CWD dest
+CWD destpath
+PORT 127,0,0,1 +STOR 231
+QUIT
+</protocol> +<file name="log/server2.input"> +USER daniel2
+PASS stenberg2
+PWD
+TYPE I
+PASV
+RETR source/sourcepath/231
+QUIT
+</file> +</verify> |