Fixed downloader issue and some ftp related changes.