Prevent errors on FTP urls.