Web Services
  Home arrow Web Services arrow Page 2 - yEnc Format Files
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

yEnc Format Files
By: Tim Haight
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 38
    2004-01-19

    Table of Contents:
  • yEnc Format Files
  • What is yEnc?
  • What are the Problems with yEnc?
  • How Do I Decode yEnc Files
  • Finishing Up with yEnc

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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.

    More Web Services Articles
    More By Tim Haight


     

    WEB SERVICES ARTICLES

    - 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
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT