From 5971d401d4fd184aedd3b439251a898ecdacb96e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Dec 2011 23:10:12 +0100 Subject: test: verify the opensocket callback for FTP test 595: for passive FTP test 596: for active FTP --- tests/data/test596 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/data/test596 (limited to 'tests/data/test596') diff --git a/tests/data/test596 b/tests/data/test596 new file mode 100644 index 000000000..9703f0471 --- /dev/null +++ b/tests/data/test596 @@ -0,0 +1,57 @@ +# +# This test is like 585 but uses active FTP instead of HTTP +# + + + +FTP + + +# +# Server-side + + +moo + + +[OPEN] counter: 1 +[OPEN] counter: 2 +moo +[CLOSE] counter: 2 +[CLOSE] counter: 1 + + + +# Client-side + + +ftp + +# tool is what to use instead of 'curl' + +lib585 + + + +verify close callbacks with active FTP + + +ftp://%HOSTIP:%FTPPORT/596 log/ip596 activeftp + + + +# +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +TYPE I +SIZE 596 +RETR 596 +QUIT + + + -- cgit v1.2.3