Receiving multiple files with dual extension using file adapter

Hi,
The scenario where I am implementing requires multiple files of different names to be picked(ABC.txt) and dropped at destination(ABC.txt.pgp) up by my File Sender and Receiver adapters.  Any idea on about how the configuration for receiving multiple files with dual extension for receiver adapter is to be done?
Note:- currently, The scenario is working fine without dual extension. i.e Its picking all files which starts with ABC and creating at destination as it is. even I configured as ABC.txt.pgp, but its not creating the second extension.
Thanks in Advance
Manmadha

Hi,
Try to concatenate '.pgp ' to the source file name to create the target file name for the receiver file adapter, by accessing the Adapter Specific Attributes using Java user defined function. This might work.
Reference links:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm">SAP Help - Accessing Adapter Specific Attributes</a>
<a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - XI: The same filename from a sender to a receiver file adapter - SP14</a>
Regards,
S.Santhosh Kumar

Similar Messages

  • Files with .a extension using ftp transport

    Hi.
    Am using ftp adapter in osb to read .txt files(e.g. abcd.txt) from ftp location, process the body/text() in OSB and then place the incoming file to an outbound folder.
    the flow is like ftp-> Proxy Service->Business Service->outbound ftp
    the service works fine where then is less load or the no. of incoming files is less.
    However,sometimes the outbound folder contains the files with .a extension at the end.(e.g. abcd.txt.a)
    Can someone tell me the rootcause of these .a file creation and the scenarios in which the .a files are created.
    Also,please tell me what are these .a files meant for?
    How,can I eliminate this while configuring the services using ftp transport.
    Thanks in adavance

    I had this recently with a variety of FTP servers, FileZilla, Microsoft etc.
    For me, it happened when the file already exists in the destination and I was expecting the destination file to be overwritten. My application would generate the same filename, say FileA.txt and expect that to be overwritten, but with OSB 10gR3 I would get files with .a stuck on the end.
    This functionality changed between ALSB and OSB and I had a patch developed to restore the ALSB functionality.
    I spent ages looking at it, and debugging FTP commands and going from memory, I'm pretty certain that the FTP adapter doesn't implement the correct FTP spec for the RNFR command according to the RFC in the case where a file already exists - it doesn't handle overwrite.
    Hope that may help.
    Pete

  • [SOLVED]Can't save a file with tex extension using vim

    Hello there people,i decided to learn LATEX but vi won't let me save my files with the tex extension.It says:
    "test.tex" E212: Can't open file for writing
    Does anyone know why vim is denying to save it with this extension?Please help!
    Last edited by sepuku (2011-06-04 01:21:44)

    I just noticed that when i'm in /home/sepuku i'm able to save the files normally.But i created a directory specially for latex!
    So when i cd /home/sepuku/latexprojects i can't save anything.I think that this has something to do with the permissions maybe?And how to i make my user able to copy/paste/remove /edit/create files and dirs? :S
    ls -al test.tex returns:
    -rw-r--r-- 1 sepuku users 70 Jun 4 06:01 test.tex

  • HT204382 how do i make a voice file with mp3 extension using my imac?

    I tried using Quicktime and picking audio file and using the microphone and burning the voice file but my cd player that i need to use only plays mp3 files and the files that are burned are only mp4.  please help

    ITunes will convert to mp3

  • Read multiples files with same extension

    how to read multiples files with same extension in java.
    for ex : i would like to read all .DAT files from C drive using java.
    How is it done

    - You create the filter
    - You get the list of files
    - You open and read each file.
    For the first two above you look at java.io.File and listFiles(FileFilter filter).
    For the third you find whatever input stream is appropriate from java.io.*

  • I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I alocate th

    I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.

    Still in the same location:
    File > Get Info > Open with (select) > Change All (button)

  • How can u open a file with .exe extension after it was unpacked?

    Thank you Linc Davis for THE ARCHIVER, I was able to unpacked the program. However, after it was unpacked, I clicked the file wtih .exe extension and I got a message that this file will not be extract with this program. Is there another way to open file with .exe extension after it was unpacked by THE ARCHIVER...??? Any assistance is highly appreciated.

    .exe files are Windows executables and do not run in OS X.  You would have to install Windows to use it.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    1. Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    2. Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    3. VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    4. CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    5. VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    6. Last is Q.  Q is a freeware emulator that is compatible with Intel Macs.  It is much slower than the virtualization software, Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • File adapter(write files with same extension as we read them)

    Hello
    I am trying to read file as an attachment using file adapter (it can be of any extension .pdf,.txt,.xml)
    I want to write this file using file adapter with the same extension i.e. whatever is read as it is....I am least bothered for reading the content inside the file so am reading it as an attachment..
    Please if anyone knows the answer..reply....

    I ran into a similar issue. As a workaround we ended up just using java to write the files out. When the File Adapter attempts to write out a file it first writes that file to a temp file and then copies that to the appropriate directory.
    I believe that when two or more threads were attempting to write at the same time the write was failing for one (but appearing to work in the console logs). I think a race condition may be created when two threads attempt to write using the File Adapter for access to the temp file. I contacted my oracle rep about it but they are always pretty worthless so I havent ever heard anything back concerning the issue.

  • Files with .ejb extension

    Hi,
    I am using the <javadoc> task in an Ant build file. I have several EJB files with th extension .ejb that I want to have included in my javadocs.
    I have the following code:
    <target name="javadoc" description="Build Java Documentation">
            <javadoc destdir="${doc.dir}">
                    <fileset dir="src">
                            <include name="**/*.ejb" />
                    </fileset>
            </javadoc>
    </target>However, when I run this I get the following error:
    [javadoc] javadoc: Illegal package name: "C:\src\com\test\ejb\CommandInputEJB.ejb"I do need the .ejb file extension for another tool to work (Ejbgen). Is there a way to get this working?
    Thanks in advance for any help!
    Arjan Huijzer

    Hi Arjun
    I'm still learning all of this myself with Ant, but looking at your script, it does not appear to be complete. I understand that you need to have certain tags included. The Ant task documentation gives good information, but in brief, in the list of parameters, the required options are indicated. Your script as a minimum, must include either '<b>sourcepath</b>', '<b>sourcepatheref</b>', or '<b>sourcefiles</b>' and you then must include '<d>destdir</b>' (which you already use).
    You can find the documentation here:
    http://ant.apache.org/manual/CoreTasks/javadoc.html
    I have never included external files such as the EJB ones you are using, but I have written my own script for generating JavaDoc HTML output. Feel free to use it if it helps.
    It uses an external file for the package list (sourcepath), called from the property:
    <i> <property name="JDOCSOURCELIST" value="JDOCSourceList.properties" /> </i>
    This is the same as the -sourcepath option of the standard JavaDoc docelt. It is formatted:
    <code>
    com.supersaus.server
    com.supersaus.server.factories
    \\\\S5\\Documentation\\com\\supersaus\\common\\Association.java
    \\\\S5\\Documentation\\com\\supersaus\\common\\CData.java
    </code>
    Other properties used in the script are:
    <code>
    <property name="JDOCDIRECTORY" value="JavaDocOutput" />
    <property name="SOURCECODEROOT" value="\\\\S5\\Documentation" />
    <property name="STYLESHEET" value="./stylesheet.css" />
    <property name="BOTTOM" value="Supersaus 2004" />
    <property name="DOCTITLE" value="Supersaus Common Files" />
    <property name="LINK" value="http://java.sun.com/j2se/1.4.2/docs/api" />
    <property name="OVERVIEW" value="doc-files\\Saus_Overview.htm" />
    </code>
    The main ant target is built up as follows:
    <code>
    <!-- Generate the JavaDoc HTML. -->
    <target name="BuildJavaDoc">
    <splash/> <!-- Add Ant progress bar -->
    <echo message="Please wait whilst the document is generated into the folder ${JDOCDIRECTORY}" />
         <!-- call javadoc -->
         <javadoc destdir="${JDOCDIRECTORY}"
         sourcePath="${SOURCECODEROOT}"
              packageList="${JDOCSOURCELIST}"
              maxmemory="180M"
              stylesheetfile="${STYLESHEET}"
              bottom="${BOTTOM}"
              Doctitle="${DOCTITLE}"
              Windowtitle="${DOCTITLE}"
              Overview="${OVERVIEW}" >
              <Link href="${LINK}"/>
         </javadoc>
    </target>
    </code>
    Hope all this helps?
    Best wishes and good luck
    Supersaus

  • How to output a postscript file with .ps extension name in jsp?

    Hi,
    I could use a servlet to output a postscript file with .ps file extension name. But I tried to do the same with jsp, for some reason, jsp always outputs a file with .jsp extension name though the content is postscript. Could anyone help me on this? Here is my jsp code:
    <%@page contentType="application/postscript"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="java.util.*" %>
    <%@page import="java.io.*" %>
    <jsp:useBean id="corresv" class="oiintranet.CorresVBean" scope="request"/>
    <%
    response.setContentType("application/postscript");
    String corresId = request.getParameter("Id");
    corresv.setCorresId(corresId);
    PrintWriter output = response.getWriter();
    output = corresv.getResult(output);
    output.flush();
    %>
    In the bean corresv:
    public class CorresVBean extends BaseBean {
    private String corresId;
    public void setCorresId(String s) {
    this.corresId = s;
    public PrintWriter getResult(PrintWriter output) {
    //get postscript file content from a socket, one string line each time until reaches "X_END"
    String str;
    while ((str = in.readLine()) != null) {
    if (str.equals("X_END")) break;
    output.println (str);
    output.close();
    }catch(Exception e) {
    e.printStackTrace();
    return output;
    Thank you in advance.
    Geraldine

    Hi
    Every time u want to make a file u need to make its extension. I am talking
    about general scenario like word, excel so even when u make spool file
    so u need to give extension.
    like
    Spool temp.sql
    it will save u r file as sql file.
    hope it will help
    regards

  • Display jsp files with .html extension

    my problem is very straight forward i want all my jsp pages to be shown with .html extension. like if i have a page test.jsp and I access it through a hyperlink Test then in the browser's address bar i want it test.html .. any ideas ..

    That's is one odd request. The source for the page still shows that they're loading a .jsp file. To do what you want, you'd have to write javascript for every such link that handled that type of request.
    However, if you actually want all files with .html extensions to be processed like jsps you can:
    1. you can remap the JSP servlet in your web.xml file to another extension (though i'm not sure if thats part of the spec)
    2. you can also use the <jsp-property-group> element in web.xml to specify other files as JSPs. (thats definitely in the spec)

  • Recover files with wdseml extension

    The folders of my profile were corrupted without apparent cause.
    These folders and their contents (looking directly with the MS-Explorer at Windows7) does not corresponds to the content displayed at Thunderbird folders, which displays or none or only some messages. Furthermore, any mozmsgs folders contains files with names large and unintelligible (as !%26!AAAAAAAAAAAYAAAAAAAAAAvE%2B1bgVJRKvZbGQVKNZEPCgAAAEAAAAEvN9Wl6jMtPvq8AQlPK8hwBAAAAAA%3D%3D%40gmail.com, for example).
    I deleted the indexes files (msf), but the problem persisted! I tried recover from ImportExportTools 3.1 extension. Unfortunately, also without results!
    How can I do to keep my message files? I have archived messages since 2004 and would not want that to happen.

    Thank you Matt!
    I ended up discovering that these files are files visualization of windows7 to search the archives of the Thunderbird.
    However, I also discovered that I missed the messages corresponding to these files. The corresponding files from Thunderbird simply disappeared. I tried several tools such as undelete / unerase and these files appear as neither deleted files. Somehow they were erased and overwritten.
    I found that files with the extension wdseml can be renamed to eml and read like a message, but the attachments were lost.
    I believe some updating Thunderbird may have caused this, since a recent update occurred. The date of this update is the same date of multiple files still present (see the MS-Explorer), precisely the date given by my lack of posts.
    This tragedy upsets/saddens me much. I ended up losing almost 50,000 messages, all stored and organized by topics since 2004! At least I can recover the text of these messages, even without its attachments.

  • Search and find jpg files with uppercase extension

    Macbook pro 13 inch retina display with OS X Yosemite.
    Some of the images I'm working on are being saved with all uppercase extension .JPG.
    My questions is:
    1) Does anyone know why this is happening?
    2) Is there a way to search all the files that have the uppercase extension .JPG?
    3) How could I change all the files with uppercase extension .JPG either individually or batch all the files automatically?
    4) Is there a way to have my files saved with the normal lowercase .jpg extension for future files?
    Thank you.

    Which program are you using to edit your jpeg images?
    On a normal Mac with HFS Journaled disk format, there is not any difference with upper case or lower case file names - only if you have formatted the disk as a "HFS Journaled Case Sensitive" can you have two files that differ only in case. For example on a disk with normal formatting, if you had a file called abc.jpg you could not create another file called abc.JPG (you will get an error if you try), but on a disk that was formatted as HFS Journaled Case Sensitive you could have both files.
    So in your case the upper case files would be opened if you typed in the lower or upper case name.
    Do you have a few files with this upper case issue or lots?
    If you have only a few just rename them in Finder (Yosemite Finder now has a nice rename feature) - just highlight all the files you want to rename then right-click or control-click and select the item in the options dialog that appears named "Rename xx items" where xx is the number of items you had highlighted.
    If you have a lot let me know and will tell you a different way that is easier but involves using the command line in Terminal.
    Is it possible you accidentally had the caps lock key pressed when you typed in a name? In any event it doesn't really matter how they got the upper case name, simply changing the names to lower case should fix the problem so that it doesn't happen again.

  • Trying to convert video files with an extension of IDI_DVD to digital files itunes and imovies can read can someone help me

    Can someone please tell me how I can convert video files with an extension of IDI_DVD to a file itunes and imovie can read? Thanks.

    Thanks for the reply, The files are on a DVD disk. I coverted my family VHS tapes to digital dvds using an HP Media Centre PC five or more years ago cant remember the program but if I get info on the disk ,on the Mac it tells me the extension is IDI_DVD.

  • Reading & Writing files with same extension(like ".sas", ".txt" , ".csv",and ".log" in Adobe AIR

    Hi Folks,
    How to read & write files with same extension(like ".sas", ".txt" , ".csv",and ".log" in Adobe AIR.
    Please let me tell if anybody knows asap.
    Thanks & Regards,
    Anderson

    Thanks Jon,
    But, I know how to read the file if we give exact file path
    I need to get the path  and  read file(s) with same extension files in the same folder using adobe air, not single file.
    Don't have file path even, i have folder path,  in that somany files are there. So i need to get which are the same extension(Ex: ".txt", ".sas") files
    If you have any idea , please help me out
    Regards,
    Vijay.

Maybe you are looking for

  • Multiple websites on one server

    I've been trying to create multiple (two) websites on one server, with little luck. One sight works fine. I've tried creating a DNS entry for the new one, but I'm not sure what to set the IP to. I've tried many configurations of IP/hostname but nothi

  • Wireless keyboard with integrated pointing device

    I would really like to buy a keyboard that has a good pointing devise integrated into the keyboard. Here is one of the only devises that appears to satisfy this but it is Windows only: http://www.logitech.com/index.cfm/keyboards/keyboard/devices/192&

  • VIDEO_TS content into Final Cut Pro HD?

    Is there a way I can get content from a DVD's VIDEO_TS folder into Final Cut Pro HD? I gave some footage to a person for editing purposes and I'm not very satisfied with the results. The image quality isn't the greatest and I'd like to add some effec

  • Urgent select with complex requirement

    Dear all I have two columns in al table its data is like the following example : stuff description desk is red with glass desk is rounded desk having four legs chair its color is brown this is how the data in the table what i want is to select from t

  • Need to render everytime I re-open project in PP3

    My problem: On a particular project, I need to re-render everything everytime I re-open project even after I have saved and closed project. I also experience SERIOUS ERROR crashes or simply PP3 freezes while trying to render whole timeline, I need to