Made Ftp transfer mode configurable