From 1016637f5a5662485550294dc7502710bf8fde0e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Jul 2013 19:33:37 +0200 Subject: test1414: FTP PORT download without SIZE support --- tests/data/test1414 | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/data/test1414 (limited to 'tests/data/test1414') diff --git a/tests/data/test1414 b/tests/data/test1414 new file mode 100644 index 000000000..444037839 --- /dev/null +++ b/tests/data/test1414 @@ -0,0 +1,57 @@ + + + +FTP +PORT +RETR +no SIZE + + +# Server-side + + +data + to + see +that FTP +works + so does it? + + +REPLY SIZE 502 no such command +REPLY EPRT 502 no such command + + + +# Client-side + + +ftp + + +FTP PORT without SIZE or EPRT support + + +ftp://%HOSTIP:%FTPPORT/1414 -P - + + + +# Verify data after the test has been "shot" + + +s/^(EPRT \|1\|)(.*)/$1/ +s/^(PORT)(.*)/$1/ + + +USER anonymous +PASS ftp@example.com +PWD +EPRT |1| +PORT +TYPE I +SIZE 1414 +RETR 1414 +QUIT + + + -- cgit v1.2.3