From 692f344118c42a68cfb2f0b4c8feffb8ef6947c8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 26 Oct 2011 18:55:35 +0200 Subject: test 589: active FTP upload using multi timeout and EPRT disabled server --- tests/data/test589 | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 tests/data/test589 (limited to 'tests/data/test589') diff --git a/tests/data/test589 b/tests/data/test589 new file mode 100644 index 000000000..29cb97217 --- /dev/null +++ b/tests/data/test589 @@ -0,0 +1,68 @@ +# +# For this test the server rejects the EPRT command +# and code in lib589 makes use of curl_multi_timeout() +# + + + +FTP +PORT +STOR +multi +EPRT refused + + + +# Server-side + + + + +REPLY EPRT 500 we don't like EPRT now + + + +# Client-side + + +ftp + + +lib589 + + +FTP PORT upload using multi interface timeout, EPRT doesn't work + + +ftp://%HOSTIP:%FTPPORT/path/589 log/upload589 + + +Moooooooooooo for 589 + upload this + + + +# Verify data after the test has been "shot" + +# Strip off parts of the PORT and EPRT commands that might differ + +s/^PORT (.*)/PORT/ +s/^EPRT \|1\|(.*)/EPRT \|1\|/ + + +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPRT |1| +PORT +TYPE I +STOR 589 +QUIT + + +Moooooooooooo for 589 + upload this + + + -- cgit v1.2.3