View Question
Q: Binary transfers ( Answered ,   1 Comment )
 Question
 Subject: Binary transfers Category: Computers > Internet Asked by: jumbie-ga List Price: \$2.00 Posted: 21 Oct 2002 07:41 PDT Expires: 20 Nov 2002 06:41 PST Question ID: 85925
 `Does a binary transfer take more or less time than a text transfer?`
 ```Hello jumbie-ga This article from Topfloor.com explains the fundamentals http://www.topfloor.com/pr/newsltr/015.htm#begin Excerpts from web.cum gives 'an example' of the file size plain text (ASCII) vs Binary "A - ASCII The ASCII bytes are taken from the file in the source system, transmitted over the connection, and stored in the file in the destination system. The data is the 7-bit ASCII codes, transmitted in the low-order 7 bits of 8-bit bytes. The high-order bit of the transmission byte must be zero, and need not be stored in the file. The data is "NETASCII" and is to follow the same rules as data sent on Telnet connections. The key requirement here is that the local end of line is to be converted to the pair of ASCII characters CR and LF when transmitted on the connection. For example, TOPS-20 machines have 36-bit words. On TOPS-20 machines, The standard way of labeling the bits is 0 through 35 from high-order to low-order. On TOPS-20 the normal way of storing ASCII data is to use 5 7-bit bytes per word. In ASCII mode, the bytes transmitted would be [0-6], [7-13], [14-20], [21-27], [28-34], (bit 35 would not be transmitted), each of these 7-bit quantities would be transmitted as the low-order 7 bits of an 8-bit byte (with the high-order bit zero). For example, one disk page of a TOPS-20 file is 512 36-bit words. But using only 35 bits per word for 7-bit bytes, a page is 17920 bits or 2560 bytes. " [i.e. ASCII = 2560 bytes] "B - BINARY The 8-bit bytes are taken from the file in the source system, transmitted over the connection, and stored in the file in the destination system. The data is in 8-bit units. In systems with word sizes which are not a multiple of 8, some bits of the word will not be transmitted. For example, TOPS-20 machines have 36-bit words. In binary mode, the bytes transmitted would be [0-7], [8-15], [16-23], [24-31], (bits 32-35 would not be transmitted). For example, one disk page of a TOPS-20 file is 512 36-bit words. But using only 32 bits per word for 8-bit bytes, a page is 16384 bits or 2048 bytes." [i.e. Binary = 2048 bytes] "Simple File Transfer Protocol" Network Working Group by Mark K. Lottor MIT Sept '84 http://asg.web.cmu.edu/rfc/rfc913.html From logical deduction (all things being equal) the Binary file will transfer quicker due to the smaller file size, 2048 bytes Vs 2560 bytes This is echoed by an excerpt from ucar.edu website http://www.unavco.ucar.edu/data_support/software/binex/why_binex "* Reading/writing binary (e.g. BINEX) is 4 to 10 times faster than reading/writing the equivalent information in ASCII (e.g. RINEX or Compact-RINEX). If a one-step process (see above bullet) is implimented with BINEX, the savings in file-reading time alone is a factor of 12 to 30." Search Strategy: transfer time binary vs ascii size ://www.google.com/search?q=transfer+time+binary+vs+ascii+size&hl=en&lr=&ie=UTF-8&newwindow=1&c2coff=1&start=0&sa=N transfer time binary ascii ://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&newwindow=1&c2coff=1&q=transfer+time+binary+ascii+&btnG=Google+Search transfer time binary vs ascii faster file size ://www.google.com/search?q=transfer+time+binary+vs+ascii+faster+file+size&hl=en&lr=&ie=UTF-8&newwindow=1&c2coff=1&start=20&sa=N I hope that helps, kind regards lot-ga```
 jumbie-ga rated this answer: `This helped alot!!`
 `It is a very good answer!!! lot-ga`