Refactored FtpWriteRaceHTML into one routine called from everywhere.