FTP Garbles Characters

I used a simple FTP sample program to transfer a two word text file to my web site. When I opened the file on the site it was completely filled with garbled characters.