Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What do ASCII/text/binary/image/raw data mean?

ASCII binary Data image mean raw text
0
Posted

What do ASCII/text/binary/image/raw data mean?

0
10

Broadly speaking there are two types of FTP transfer – text transfer and binary transfer. One of the primary differences between an ASCII (American Standard Code for Information Interchange) or text and a binary transfer (in fact the only real one of note) is in the treatment of end-of-line. A binary transfer just copies the bytes with no conversion, an ASCII transfer copies bytes but also changes the end-of-line representation to that of the destination system (eg it might convert CR/LF(Carriage Return/Line Feed) to LF. Other bytes can exist and are copied as is (even non-printing bytes). One other difference, which is a result of this end-of-line conversion, is that the destination system needs to buffer an incoming line in ascii mode in order to write out the whole line (you can’t always write part lines in some systems). As a result, there may be a restriction on the maximum line length of an ASCII or text transfer, whereas there is never any such limit with a binary transfer.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123