They are similar to application/octet-stream, but apply to specific kinds of files. In addition to the generic application/octet-stream content type, you may also encounter attachments that have different subtypes (for example, application/postscript, application/x-macbinary, and application-msword). After downloading an attachment through any of these methods, you must then open the attachment in the appropriate application to view its contents.īefore opening attachments, even from trusted senders, you should follow the guidelines listed in Tips for staying safe online. If you are using a workstation-based client, such as Thunderbird or Outlook, the application should be able to extract and download the attachment automatically. No matter what kind of file it is, an application/octet-stream attachment is rarely viewable in an email or web client. doc is probably meant to be opened in Microsoft Word. exe extension, for example, indicates it is a Windows or DOS program (executable), while a file ending in. If the attachment has a filename extension associated with it, you may be able to tell what kind of file it is. I have simply implemented some checks on the file extension and if the content-type shows as application-octet stream I have then assigned it depending on what the file extension is. Typically, it will be an application or a document that must be opened in an application, such as a spreadsheet or word processor. About "application/octet-stream" MIME attachmentsĪ MIME attachment with the content type "application/octet-stream" is a binary file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |