Whats the difference between ASCII and Binary transfer modes?
ASCII stands for American Standard Code for Information Interchange. ASCII is basically just a standardized text format for computers. When you hear about people uploading files in ASCII mode, they mean that they are uploading text files. Files with the following extensions are all text, and should be uploaded in ASCII mode: .htm, .html, .shtml, .php, .txt, .pl & .cgi. Binary mode is for transferring binary information. Graphics, audio, video and executable programs are all examples of binary data. Files with the following extensions are all binary files, and should uploaded in binary mode: .exe, .zip, .jar, .class, .gif, .jpg, .jpeg, .bmp, .png, .avi, .mov, .au, .aiff, .ra, .rm, & .mp3. When you upload files through FTP, you need to decide which mode to use. HTML files, Perl scripts and Text files should be uploaded using ASCII mode. Graphics and other binary files should use binary mode. If you use binary mode with ASCII files, then it will put ^M characters at the ends of your lines