locked
Problem with annotations of mimetype: application/octetstream RRS feed

  • Question

  • Hi,
    I'm reading some file and creating annotations for contacts with these files, the  files could be .pdf, .doc, .docx, .xls, or even images.
    I have one file that has mimetype="application/octetstream" and the filename doesn't include the extension. I created a note with that file but when I tried opening it from the CRM it said "Download failed- The attachment type is invalid".

    I tested other types such as pdf and doc and they work fine, but how can I attach such a file with "octetstream" type ?

    Thanks a lot in advance

    EDIT:
    I can't change the way the users save the files, I have to read them just the way they are.
    • Edited by SB User Monday, January 13, 2014 4:09 PM
    Monday, January 13, 2014 4:07 PM

Answers

  • A MIME attachment with the content type "application/octet-stream" is a binary file. Typically, it will be an application or a document that must be opened in an application, such as a spreadsheet or word processor. If the attachment has a filename extension associated with it, you may be able to tell what kind of file it is. A .exe extension, for example, indicates it is a Windows or DOS program (executable), while a file ending in .doc is probably meant to be opened in Microsoft Word.

    No matter what kind of file it is, an application/octet-stream attachment is rarely viewable in an email, Usenet, or web client. If you are using a text-based client, such as Pine, trn, or Lynx, save the attachment to your account, and then transfer it to your personal computer using SFTP. IU Webmail allows you to save attachments directly to your personal computer; see In IU Webmail, how do I use attachments? 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. After downloading an attachment through any of these methods, you must then open the attachment in the appropriate application to view its contents.

    source: http://kb.iu.edu/data/agtj.html


    If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'

    • Marked as answer by SB User Wednesday, January 22, 2014 8:50 AM
    Monday, January 13, 2014 5:47 PM