From e7d90e08b94fd6acecd1f1437d41b1880dae5efa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 21 Sep 2006 20:52:20 +0000 Subject: Added test case 531 in an attempt to repeat bug report #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470) that is said to crash when an FTP upload fails with the multi interface. It did not, but I made a failed upload still assume the control connection to be fine. --- tests/data/test531 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test531 (limited to 'tests/data/test531') diff --git a/tests/data/test531 b/tests/data/test531 new file mode 100644 index 000000000..0909e812a --- /dev/null +++ b/tests/data/test531 @@ -0,0 +1,55 @@ + + +FTP +PORT +STOR + + +# Server-side + + + + +REPLY STOR 425 Permission Denied. File Exists. + + + +# Client-side + + +ftp + + +lib525 + + +FTP PORT upload using multi interface and get 425 response + + +ftp://%HOSTIP:%FTPPORT/path/531 log/upload531 + + +Moooooooooooo +don't upload this + + + +# Verify data after the test has been "shot" + + +^PORT .* +^EPRT .* +^LPRT .* + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +CWD path +PORT 127,0,0,1,5,109 +TYPE I +STOR 531 +QUIT + + + -- cgit v1.2.3