better ftp handling