What are 'Binary and ASCII' files?

Requested and Answered by Carnuke on 2004/10/30 17:48:38

What are 'Binary and ASCII' files?

Binary vs Ascii files - Unix uses different signals for the end of a line of text than Windows or Macintosh. This instructs the FTP server to correctly convert the carriage return signals between formats when uploading or downloading ASCII text files. HTML Files [.html, .html], Perl/CGI Files [.pl, .cgi], [php files .php] [database .sql] and Text files [.txt] should all be transferred using ASCII modes.

Any non-text files such as image foramts should be transferred Binary. Many FTP programs recognise these file types and will transfer them in the correct mode if set to automatic transfer.

This Q&A was found on XOOPS Web Application System : https://xoops.org/modules/smartfaq/faq.php?faqid=229