Fix some ftp problems.