Missing "Content-Disposition" and attachment's file name

We're testing OCFO 10.1.3.0.6 with MS Outlook 2003 and found some problems when message with attachments is received.
If the attachment's file name is encoded and the body part looks like:
Content-Type: application/msword; name="=?utf-8?B?encoded name?="
Content-Disposition: attachment; filename="=?utf-8?B?encoded name?="
everything is OK - the message is displayed as expected and the attachment's file name is decoded right.
But, if Content-Disposition field is missing, the attachment's file name is not decoded - it's displayed as "=?utf-8?B?encoded name?=" (the name is obviously taken from Content-Type's name parameter), we loose information about file's type and we can't open the attachment.
It seems that MS Outlook (without OCFO) is "smart" enough to decode Content-Type's name parameter as file name in the absence of Content-Disposition field. The same is true for Thunderbird.
Any ideas?

Actually the "name" parameter in Content-Type was declared depricated in RFC 1521 in september 1993, (now belongs to Content-Disposition) so they can be excused in a way....
Message was edited by:
user464123

Similar Messages

  • Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?

    Message title says it: Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?
    I can't find anything in the Knowledge Base that says these two options no longer work or still do.
    I do not have a system capable of running Lion, but I need to know the answer nonetheless.

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

  • Error #2190: The attempted load of failed as it had a Content-Disposition of attachment set.

    I'm getting this error when I set the URL.
    Error #2190: The attempted load of  http://site.com/get_file_content.php?id=1000 failed as it had a Content-Disposition of attachment set.
    Is there a way to force the content type on the client?
    Here is the code I'm using:
                var resource:URLResource = new URLResource(path);;
                var element:SWFElement = new SWFElement(resource);
                mediaPlayer = new MediaPlayer();
                element.resource.mediaType = MediaType.SWF;
                mediaPlayer.media = element;
                mediaPlayer.addEventListener(MediaErrorEvent.MEDIA_ERROR, mediaErrorHandler);
                mediaPlayer.addEventListener(MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE, mediaPlayerStateChangeHandler);
                mediaPlayer.addEventListener(DisplayObjectEvent.DISPLAY_OBJECT_CHANGE, mediaPlayerDisplayObjectHandler, false, 0, true);
                protected function mediaPlayerDisplayObjectHandler(event:DisplayObjectEvent):void {
                    var displayObject:DisplayObject = event.newDisplayObject;
                    displayObject.width = 400;
                    displayObject.height = 250;
                    uicomponent.addChild(displayObject);
                protected function mediaErrorHandler(event:MediaErrorEvent):void {
                    trace(event.error.detail);
                    // Error #2190: The attempted load of  http://site.com/get_file_content.php?id=1000 failed as it had a Content-Disposition of attachment set.
    Message was edited by: thx1138

    The problem is that the server script is treating the request as a request for a file to download, rather than as a typical HTTP request/response.  You need to modify the server script so that it doesn't include the Content-Disposition header, there's not much you can do on the client side.

  • How do I upload and attach the file to Service Request

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    drangineni
    New Contributor
    Hi,
    I am trying to upload a file and add it to a Service object as an
    attachement. I greatly appreciate if you could provide any code or
    sample...
    Thanks.
    Daya
    Product: CRM OnDemand
    10-21-2006 10:58 AM
    Re: How do I upload and attach the file to Service Request...
    BigSlick
    Valued Contributor
    On Demand doesn't support adding attachments via web services. One
    solution I've seen is depending on the scenario is to create a web link
    field on an object that's based on a custom text field. Your web service
    can populate that custom field and the web link can generate a dynamic
    link to the file in On Demand's UI. However, this depends on where the
    attachment is located and if the user needs some sort of firewall access.
    Hope this helps
    -BigSlick
    10-23-2006 11:43 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Yes this still holds ture.
    Bardo

  • How can i reply to an email and attach a file to it?

    How can i reply to an email and attach a file to it?

    http://www.apple.com/feedback/
    Tell Apple. We're just fellow users here and can't control a thing. The sandboxed nature of the iPad, which also means a lack of an overall file manager is what keeps viruses from spreading and improves the stability of the system as a whole. And it's that lack of a file manager system that means you can't just attach something to an e-mail.
    What I'd do, reply to the person, i'm sending the attachment next, do that and you're done. 2 e-mails sure but you've accomplished what you need to do.

  • After I run a query can I get it to return the number of files matched and each individual file name?

    After I run a query can I get it to return the number of files matched and each individual file name?  I am trying to do a data mining routine and this would be helpful. 
    BBANACKI

    Hi bbanacki,
    Please have a look at the following code:
    Define your queries and then:
    oAdvancedQuery.ReturnType=eSearchFile
    oMyDataFinder.Results.MaxCount = iMaxNumberOfReturndElements
    Call oMyDataFinder.Search(oAdvancedQuery)
    Set oMyResults  = oMyDataFinder.Results
    If oMyResults.IsIncomplete Then
      msgbox "The first " & str(oMyResults.Count) & " files found"
    Else
      msgbox str(oMyResults.Count) & "  files found"
    End If
    for iLoop = 1 to oMyResults.Count
      Cell.Text = oMyResults(iLoop).Properties("Name").Value
      Cell.Text = oMyResults(iLoop).Properties("fullpath").Value
    next
    Greetings
    Walter

  • It can't find URL when i use HLS for vod and the vod file name contain Chinese.

    It can't find URL when i use HLS for vod and the vod file name contain Chinese。eg: http://127.0.0.1:8134/hls-vod/你好.mp4.m3u8.
    How does it support Chinese path?

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • If I want to reply to an email and attach a file-how do I do it?

    If I want to reply to an email and attach a file how do i do it?

    It depends what file you want to attach. For photo's, tap and hold any photo on the web, tap copy, then hold a blank space on an email, and tap paste.
    For other documents, you may need an app. For example, in the Pages application, there is a feature to email a document. Search the App Store.
    Hope this helps,
    Regards,
    Nathan
    <Edited by Host>

  • Content-Disposition inline/attachment

    I am using Content-Disposition for excel file download as below:
    I have searched the forum but not able to get the exact answer or solution. Please also guide me to some url if possible.
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition", "inline; filename=xyz.xls" );
    If I am using inline attribute but I am not able to specify the filename as xyz.xls and by default fileName provided by browser is the request URL(action-mapping in case of struts).
    But it works fine with attachment attribute and prompts for the exact file Name and works fine.
    I want to know how to specify the desired fileName with inline Attribute ? I am using the struts based request for Excel file generation.
    Best Regards,
    Amber Gupta

    if You dont't mind , I just want to tell u something on this code.
    If im wrong, Please tell me why? and what is the best way of acheiving it then,
    the code below loads whole filedata and it does not matter how big the file is. Don't you think that it will heat up the memory by doing so. and consider the method what he was doing is perfectly right. but is there any other solution/wrong with above code what MR/ms/Mrs Kenneth has written like.
    I just wanted to know the answer what is the wrong with MR. Kennth Code since i looked at it as a perfect working code(but with some glicth).
    with Regards
    Lokesh T.c
    FileInputStream in = new FileInputStream(fileToDownload);
    ServletOutputStream out = response.getOutputStream();
    int bytesRead = 0;
    byte byteArray[] = new byte[fileTODownload.length()];
    // Read in bytes through file stream, and write out through servlet stream
    /*while( ( bytesRead = in.read( byteArray ) ) != -1 ) {
    out.write( byteArray, 0, bytesRead );
    in.read(bytesArray,0,fileTODownload.length());
    out.write(bytesArray,0,fileTODownload.length());
    in.close();
    out.flush();
    out.close();

  • Download a file and give the file name as default name while saving

    Hi folks
    I am facing a problem. I have jsp which fetchs the file name and it's location from the database.
    It can fetch many row's. Now i have provided a radio button, against each row, By clicking on it , the user selects the file to download.
    And clicks on download button, which call an action say "Download File".
    It's downloading the file successfully. But displaying the action name as default name while selecting the location to save the file on local machine.
    I want the file name which he opted to download, should get displayed as default name.

    Set it in the content disposition header.
    The downloadFile() snippet here might give some useful insights: http://balusc.xs4all.nl/srv/dev-jep-pdf.html

  • Not renaming attachment xml file name in receiver mail adapter

    Hi,
    I receive SOAP from GRC and need send to Partner an email.
    I have  SOAP to MAIL scenario where an xml file is picked up and transformed and zipped into the target format in XI which has to be sent as an attachement in an email on the receiver side.
    I am getting the mail with the attachement. But I would like to rename the attachment as the name "NFE.XML" and the ZIP File as the name "nfe.zip"
    I am using MAIL adapter with Modules above.
    Number  Module Name                                                                          Module Type                       Module Key
    1             AF_Modules/PayloadSwapBean                                           Local Enterprise Bean        Transform
    2             AF_Modules/MessageTransformBean                                  Local Enterprise Bean        ContentType
    3             AF_Modules/PayloadZipBean                                                Local Enterprise Bean        zip
    4             sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean    Local Enterprise Bean        mail
    Module Configuration :
    Module Key                           Parameter Name                Parameter Value
    Transform                             swap.keyName                 payload-name
    Transform                             swap.keyValue                 NFE
    ContentType                         Transform.ContentType    application/xml; name="NFe.xml"
    zip                                         zip.filenameKey                ContentType
    zip                                         zip.mode                           zip
    I  am using transport protocol  "XIPAYLOAD" and set  "KEEP ATTACHMENTS"
    I have with result example above :
    Name from ZIP              :  PayloadName.zipu200E(4KB)u200E
    Name from attachment :  PayloadName
    Regards,
    Ricardo

    Hi Shobhit,
    The module tab of your mail adapter will look like this.
    Processing Sequence
    Module Name                                                            Type                                      Module Key
    localejbs/AF_Modules/MessageTransformBean   rename LocalEnterpriseBean     
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean  mail     Local EnterpriseBean     
    Module Configuration
       Module Key               Parameter Name             Parameter Value
          rename      Transform.ContentDescription                      File
          rename  Transform.ContentDescription  attachement;filename="yourfilename.ext"                                                          
          rename            Transform.ContentType                 application/text;name="yourfilename.ext"
    Thanks
    Amitanshu

  • File adapter polling and getting the file name 11g Jdeveloper

    I am using JDeveloper 11g. My process is something like;
    A file adapter reads a XML file
    This triggers the BPM process, file content is sent to start activity as message
    I have to get the file name that is read by file adapter.
    How to do that? Any help is appreciated.
    I have seen couple of answers like bellow in forum but did not help me much
    This is a very simple task in JDeveloper 11g, file adapters are linked to the receive activity, here there is a tab called Properties which you can use to extract the file name. Please follow the steps below:
    1. Create a Simple Type variable of string type, call it fileName_var or any name you wish.
    2. Open the Receive activity in your bpel project.
    3. Scroll down to jca.file.FileName and double click on the value column, click on the browse button (...), select Variable, then click the search icon
    4. Locate your recently created variable
    5. Now when your project runs it will assign the file name to this variable, you can use this same approach also to pull the directory, file size, etc.
    *************************/

    hi,
    Like you said.. steps are simple and clearly mentioned in guide.
    1. create a variable of type string
    2. after configuring the file adapter , go to corresponding receive activity , go to properties tab
    3. search for a property with name as jca.file.FileName . This basically keeps track of file name
    4. for this property, give the value as name of variable created in step 1 above
    5. Use this variable anywhere in assign / transform
    HTH,
    Ketan

  • Utility or script "each clip = new movie and let media file = name"

    I've found out that if I want to split a clip at the playhead and make it a new AS-IS original with a unique media file name designation; I have to go through:
    file>export> as full quality movie > check the "selected clips only " box > copy and paste the name and then designate destination folder> CLICK and then wait until done. (Thank you Karl)
    Unfortunately, completing this process with 180 clips per project x 15 to 20 projects per quarter... well it was more than I was prepared to do.
    Therefore... is there anyone out there who could (or has already) program(ed) some kind of script/utility/add-on that would create a new AS-IS clip from each clip that was "split at the playhead" and ALSO, make those final clips as well as every other existing clip in the project have its media file designation the same as its name.
    ie "each clip = new full quality movie and let its media file = name."
    This would save me around 10 hours per week.
    mac pro   Mac OS X (10.4.8)  

    Karsten is correct. iMovie itself does not support AppleScript.
    But for applications that don't support AppleScript, Apple offers a "System Events" AppleScripting alternative. It lets an AppleScript script use System Events to do things in OTHER applications. It can act on window objects, like click on a button. Theoretically, System Events can do just about any task in iMovie.
    Except, unfortunately, select a clip.
    That's right, there is no way to select a clip with a script. So a script can't control which object to act on. YOU have to select the clip manually. That's not an insurmountable problem, but it does mean you can't tell the script to export every clip in the Timeline.
    Probably the easiest way to do what you want is with QuicKeys, the third-party software that lets you define tasks, then assign a key to perform that task. Just about any task you can imagine. One kind of task is a macro to perform a series of actions. QuicKeys lets you record macros in any application. Its record function makes macro-writing pretty easy.
    (QuicKeys is one of those utilities I wouldn't be without. I use QuicKey keys hundreds of times a day for repetitive tasks.)
    Back to AppleScript. Theoretically, QuickTime Player Pro can do what you want. QuickTime Player is VERY scriptable.
    Here's the trick: Each time we save the iMovie project, iMovie updates the "Timeline Movie.mov" that's inside the Cache folder (inside the project package). When iMovie saves, it sets the selected frames of that movie to match the selected clip in the TimeLine. When you open the "Timeline Movie.mov" in QuickTime Player, the selected video/audio matches the clip selected in iMovie.
    So after you select a clip in iMovie, an AppleScript could save the iMovie project (to update the Timeline Movie), open the Timeline Movie in QuickTime, Copy the selected frames, Paste them into a new movie, then save the new movie.
    Back to QuicKeys. QuicKeys can work across multiple applications just like an AppleScript. So theoretically you could run part of a macro in iMovie and another part in QuickTime Player. And, if I recall, QuicKeys can run AppleScript scripts.
    What you REALLY want is an application that knows how to read iMovie project files and automatically exports each clip to its own movie.
    Maybe I'm missing some simple work-around. That'd be sweeeeeet!
    Yup. Sometimes the best solution is to avoid the problem, not solve it.
    We can export a project to the camera, then re-import it to a new iMovie project. When we do, most clips on the Timeline return as discrete clips. Clips like titles will not be editable, of course.
    That is best done early on, before we add titles, transitions and such. Import the newly-shot video, do a rough edit to get rid of the stuff you don't want, export the Timeline to the camera, re-import to a new project. All the junk will be gone and now each clip is a discrete clip with its own source file. NOW add titles and such.
    Karl

  • I am unable to retrieve spreadsheets.  Numbers displays the "Welcome To Numbers" page but does not allow saved spreadsheets to be opened.  It offers the "Open Recent" choice and displays saved file names but does not allow these files to be accessed.

    I recently upgraded to Numbers 3.5.2.  I have an older Macbook Pro (2009) and I run Yosemite 10.10.2.  I am unable to open any saved files that were created with earlier versions of Numbers.  When I open the Numbers app, I am offered the Welcome To Numbers page.  When I choose the 'Open Recent' option, I am offered the greyed names of files that I had recently used, however, I am unable to open any of these files (no error message is displayed).  Welcome To Numbers stays on the screen.  I tried opening the app by clicking on the file name but it produced the same results.  I am having a similar problem with Pages.   I suspect a compatibility problem between the new OSX and the new iWork offerings.   Has anyone else encountered this problem?  Does it require a setting change or is it a bug?

    I managed to download and install the iWork '09 apps.  However, when I attempt to open the app, I receive this error message:
    Numbers cannot be opened because of a problem.
    Check with the developer to make sure Numbers works with this version of OS X.  You may need to reinstall the application.  Be sure to install any available updates for the application and OS X.
    Problem Details and Configuration:
    Process:          Numbers [39838]
    Path:               /Applications/iWork '09/Numbers.app/Contents/Mac OS/Numbers
    Identifier:          com.apple.iWork.Numbers
    Version          ???
    Build Info:     Numbers-2990000~12
    Code Type:     X86 (Native)
    Parent Process:  ??? [1]
    Responsible:     Numbers [39838]
    User ID:          501
    Any thoughts as to what has to happen next?  I am running the latest OS X available (Yosemite 10.10.2)

  • Photo messages disappeared and replaced with file name?

    For some reason all my photos in my messages have been replaced with a ? Sign and file name. When I press for more options only one is to delete. has anyone experienced this and if so how do I get my photos back?

    glendahl,
    I have been using ID since version 1.5 and this is not standard or some known bug.
    Now don't hold me to this as it could have been some other work around to solve it as I don't recall exactly what I did to handle the matter.
    I seem to vaguely recall something similar that happened to me a few years ago. I was using InDesign CS2 running in XP Home version over a Windows network. When I would move files from my desktop to the server or from one folder on the server to another, I would notice either the PDF would be outside the folder where I kept them, so it wasn't an .idnn file, or the .indd file would be missing in action! Very wierd and troubling. I had Version Que turned on and it was giving me all sorts of other troubles, so I turned it off and the problems went away. Something about moving files over the network just didn't sit right with Version Que, hence the mess ups!

Maybe you are looking for

  • RH Automatically Changing HTML Code for Links

    For some reason, RH is doing something to the links I create. In my stylesheet, I have the following code for links: a {     color: #054abc;     cursor: pointer; a:hover {     color: #336699;     text-decoration: none; a:active {     color: #333333;

  • PrintEvent in SAPB1

    Hi again ... I am facing a new problem here . I am trying to handle the printevent, in order to modify my print layout so I can show (or not ) the remarks field (sales order doc.) wich will contain 2, 3 text lines max. I have declared a two event han

  • After upgrading to iOS 7.0.6, I get intermittent "invalid SIM" error.

    After upgrading to iOS 7.0.6, I get intermittent "invalid SIM" error where the carrier strength (top left corner) should be.   Of course I loose all data and cellular connections at that time.   The only workaround is to power the device off and back

  • Downgrade HP 15-r011dx to windows 7, need help finding drivers

    I have installed Windows 7 64 bit on my new HP 15-r011dx laptop and cannot find drivers forthe wireless network adaptor. Any help would be greatly appreciated! Thank you in advance! This question was solved. View Solution.

  • Debugging  a report (sap-abap)

    Hi ,     I m poor in debugging , i have many books still i m not able to get thing.     Could u sent me easiest way to debugging (Advance debugging) a report in my     mail  id '[email protected]' . So that i can fix the error without consuming    ti