]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
add support for NOOP
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jan 2005 22:05:44 +0000 (22:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jan 2005 22:05:44 +0000 (22:05 +0000)
tests/ftpserver.pl

index f348de96f6eebe6d2ae3477c8bfd041ba11253fd..bffa30a4d3ce3b81473bd2fa1af1f42d757ee830 100644 (file)
@@ -136,6 +136,7 @@ my %commandok = (
                  'RNTO'  => 'loggedin|twosock',
                  'DELE' => 'loggedin|twosock',
                  'MDTM' => 'loggedin|twosock',
+                 'NOOP' => 'loggedin|twosock',
                  );
 
 # initially, we're in 'fresh' state
@@ -162,6 +163,7 @@ my %displaytext = ('USER' => '331 We are happy you popped in!',
                    'DELE' => '200 OK OK OK whatever you say',
                    'RNFR' => '350 Received your order. Please provide more',
                    'RNTO' => '250 Ok, thanks. File renaming completed.',
+                   'NOOP' => '200 Yes, I\'m very good at doing nothing.',
                    );
 
 # callback functions for certain commands