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/test230 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/data/test230 (limited to 'tests/data/test230') diff --git a/tests/data/test230 b/tests/data/test230 new file mode 100644 index 000000000..8ae9edfa4 --- /dev/null +++ b/tests/data/test230 @@ -0,0 +1,51 @@ +# +# Server-side + + +contents of source file 230 + + + +# +# Client-side + + +ftp +ftp2 + + +FTP 3rd party transfer + + +ftp://%HOSTIP:%FTPPORT/dest/destpath/230 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/230 --3p-user daniel2:stenberg2 + + + +# +# Verify data after the test has been "shot" + +# target-side protocol check + +USER daniel +PASS stenberg +PWD +TYPE I +CWD dest +CWD destpath +PASV +STOR 230 +QUIT + + +s/^(PORT 127,0,0,1).*/$1/ + + +USER daniel2 +PASS stenberg2 +PWD +TYPE I +PORT 127,0,0,1 +RETR source/sourcepath/230 +QUIT + + -- cgit v1.2.3