diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index e5e054184..a9ccb35cb 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -110,7 +110,7 @@ test1388 test1389 test1390 test1391 test1392 test1393 test1394 test1395 \ test1396 \ \ test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \ -test1408 test1409 test1410 test1412 test1413 \ +test1408 test1409 test1410 test1412 test1413 test1414 \ \ test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \ test1508 test1509 test1510 test1511 \ 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 + + +