Fix ftp adapter for windows