Most FTP programs have a feature called 'auto-detect' that will send the files in the correct format.
To transfer html files, cgi scripts or text files, you must choose 'ascii' mode. To transfer images (eg. gif or jpg photos and images) you must choose 'binary'.