diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 40fab2406..8f4a77ebb 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -23,6 +23,14 @@ if the data is sent but this is what should be checked afterwards
number to return on a ftp SIZE command
+
+special purpose server-command to control its behavior *before* the
+reply is sent
+
+
+special purpose server-command to control its behavior *after* the
+reply is sent
+
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 956ff4d85..ef3478775 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -326,6 +326,7 @@ sub PORT_command {
$SIG{CHLD} = \&REAPER;
my %customreply;
+my %delayreply;
sub customize {
undef %customreply;
open(CUSTOM, "