ASCII or Binary
Support 1st Host Web
   

   
 

Home
Getting Started
Uploading Your Web Site
Control Panel
Basic Hosting Tutorials
Advanced Tutorials
Email Features
Web Site Statistics
Cool Tools
Search Engine Submit
CGI Center
MySQL Databases
Sub Domains
We Recommend

 

 

 

 

 

 

 

 

 

 

The Difference Between ASCII and BINARY?

 

In short, html or text based files are supposed to be transferred in ASCII mode. 

 

Uploading them in Binary mode will append ^M's to the end of every line. In most cases, this is OK, with html files because your browser will ignore them.

 

With other text files such as CGI scripts, uploading them in binary will damage them, thus causing a (server 500 error). 

 

This is because binary mode has added ^M's to the end of every line, which are not supposed to be in the program.

 

Once again, BINARY mode is used for transferring executable programs, compressed files and all image/picture files.

 

If you try to upload an image in ASCII mode, you observer a strange mess appearing on the page where the image is suppose to appear. 

 

ASCII mode in this case, has corrupted the binary coding in the jpeg or gif image. 

 

If this happens, just re-upload it in the Binary format.

 

Free HTML Tutorials

 

Questions? Just Ask!

 

 

Need Some Help?

 

Help is always just an email away! Our support team is available 24 hours a day, 7 days a week, 365 days a year! Just email your questions to:

 

Support

 

and we'll be back as quickly as possible! There is never a charge for technical support at 1st Host Web. We are happy to assist you.

 

 

 

 

 

   
   Back Home Up Next

 

Copyright © 2002 1st Host Web

281-477-8650