in reply to A simple FTP server

elsif ($res =~ /PASS (.+)/) { print $cc "230 User logged in\r\n"; }
Not the best password protection i've ever seen ;-)