From 7e42cb61f75890832792c082510ec610f4c32cbe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 21 Jan 2005 09:32:32 +0000 Subject: FTP third transfer support overhaul. See CHANGES for details. --- tests/data/test231 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/data/test231 (limited to 'tests/data/test231') 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 + + +contents of source file 231 + + + +# +# Client-side + + +ftp +ftp2 + + +FTP 3rd party transfer, make target use PORT + + +ftp://%HOSTIP:%FTPPORT/dest/destpath/231 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/231 --3p-user daniel2:stenberg2 -P - + + + +# +# Verify data after the test has been "shot" + +# target-side protocol check +> +s/^(PORT 127,0,0,1).*/$1/ + + +USER daniel +PASS stenberg +PWD +TYPE I +CWD dest +CWD destpath +PORT 127,0,0,1 +STOR 231 +QUIT + + +USER daniel2 +PASS stenberg2 +PWD +TYPE I +PASV +RETR source/sourcepath/231 +QUIT + + -- cgit v1.2.3