Home arrow Web Services arrow Page 2 - yEnc Format Files
WEB SERVICES

yEnc Format Files


yEncNews and Mail transfer require that a binary attachment is "encoded" before it is sent. And they are "decoded" after they have been received. Normally all this is done by your newsreader (or mail-program). You don’t see it. Most don’t even know it. yEnc files are formatted in a coding system that is up to 40% smaller than UUencode and Base64, and also include error checking and multipart file support. This means that posts are smaller, and take less time to download.

Author Info:
By: Tim Haight
Rating: 4 stars4 stars4 stars4 stars4 stars / 38
January 19, 2004
TABLE OF CONTENTS:
  1. · yEnc Format Files
  2. · What is yEnc?
  3. · What are the Problems with yEnc?
  4. · How Do I Decode yEnc Files
  5. · Finishing Up with yEnc

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
yEnc Format Files - What is yEnc?
(Page 2 of 5 )

News and Mail transfer require that a binary attachment is "encoded" before it is sent. And they are "decoded" after they have been received. Normally all this is done by your newsreader (or mail-program). You don’t see it. Most don’t even know it.

The encoding is necessary because the special methods for the transfer of news & mail protocols require it. A message with a binary which is not encoded is corrupted during transmission - or transmission is denied at all.

Transport of messages by News and Mail was restricted to US-ASCII characters when the protocols were written (20 years ago). These services have been created to transport only plain US-text. Special characters (control-characters, symbols, non-US-characters) were forbidden - and used for special purposes. But because people wanted to send also binary attachments by News and Mail some 'tricks' were implemented: The binary was changed to "allowed US-ASCII-characters" before transmission (encoding) - and back to a binary after transmission (decoding). The usual encoding methods are still respecting these old limitations - and are used everywhere. 

Unfortunately there is a price for this 'trick': Encoding makes a message longer. And not just a little, but 33%-40% longer than the original attachments. This results in 33%-40% more bytes for a message - 33%-40% more time for the transmission - 33-40% more disk space on the hard disk where there messages are stored (on news- and mail-servers).

yEnc files are formatted in a coding system that is up to 40% smaller than UUencode and Base64, and also include error checking and multipart file support. This means that posts are smaller, and take less time to download.  If you are using a metered Usenet service, such as Giganews, you would be able to download more for your money.  The built-in error correction also offers a way to detect corrupted files, or corrupted portions of multi-part files.


blog comments powered by Disqus
WEB SERVICES ARTICLES

- Dealing with Loose Coupling in a Service-Ori...
- Loose Coupling in a Service-Oriented Archite...
- Safety, Idempotence, and the Resource-Orient...
- The Resource-Oriented Architecture in Action
- Features of the Resource-Oriented Architectu...
- The Resource-Oriented Architecture
- Getting Started with Flex
- Automated Billing and Faxing for the Web
- An Introduction to Web Services
- The Foundations of Web Services: From Novice...
- Web Services Reengineering: Finishing Touches
- Fault Handling with Web Services
- Flow and Web Services
- Process Lifecycles and Web Services
- Business Processes and Web Services

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials