There are many reasons for a program download to fail. You'll want to provide a little more detail here. Which program, what happened when the download failed, the text of any diagnostics received, and also whether this is OS X or OS X Server or iOS in use, and what version is in use.