renamed ftaServer and added minor edge cases