Created enum for protocols
Fixed exception related FTP