add file handleFtpCmd.js for refactoring the ftpd.js code.