From cb9bb31f7da82d8ec4a1b6c8d3d1e2ea82d1f996 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 7 Mar 2005 08:29:28 +0000 Subject: test 236: FTP resume upload but denied access to remote file --- tests/data/test236 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tests/data/test236 (limited to 'tests/data/test236') diff --git a/tests/data/test236 b/tests/data/test236 new file mode 100644 index 000000000..1399e4c8b --- /dev/null +++ b/tests/data/test236 @@ -0,0 +1,36 @@ +# Client-side + + +ftp + + +FTP resume upload but denied access to remote file + + +ftp://%HOSTIP:%FTPPORT/236 -T log/ftpserver.cmd -C - + + +REPLY SIZE 550 access to this file is very much denied +REPLY APPE 550 I said: access to this file is very much denied +REPLY STOR 550 I said: access to this file is very much denied + + + +# Verify data after the test has been "shot" + + + +USER anonymous +PASS curl_by_daniel@haxx.se +PWD +EPSV +TYPE I +SIZE 236 +STOR 236 + + +# (25) Failed FTP upload: 550 + +25 + + -- cgit v1.2.3