Receiver file archiving

Hi,
Iam using receiver file adapter as ftp as message protocol. My requirement is I have to archive the files on PI applicaation server and send the files to legacy system as well.
Please suggest the solution?

Hi Praveen,
Suppose using FTP receiver you are writing the file in Folder A. and now you want to copy it to folder B and also client Folder C.
Approach
1. You can write a batch file (for windows extension will be .bat) and schedule it for every 1 minute. Now the work of this batch file will be to move the newly created file to Folder B. Make sure you have the .bat file in Folder A and added to the windows scheduler (need to do a google to find out how to write a btach file for this and how to scheduie it in windows).
2. Now make a generic inerface which will pick files from Folder B and send back to Folder B in Client machine. So this is the second interface..
Regards
Suraj

Similar Messages

  • Receiver file adapter archiving

    Is there any mechanisam to archive the files at receiver file adapter?

    Hi Praveen,
    Use file adapter to put the file into the archive directory and use the above mentioned OS commands in "Execute OS commands after message processing" section of Receiver file adapter.. so your file will be placed in archive folder and then copied to actual folder.
    This process is followed so as to make sure that you have the receiver file archived.. suppose you have a receiver process which will read the output of PI and delete the file .. then just to make sure we have a copy in the archive location we are first putting the file in archive directory and then copying it to the correct location
    Regards
    Suraj

  • Archiving files in the Receiver File Adapter

    Hi All,
    I am trying to archive the file created in the Receiver File adapter. Reading from the link below,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    I gave the command cp %F <target dir> in the Command Line of "Run Operating System Command After Message Processing". As well as I tried cmd.exe copy %f <target file>
    But it does not work. Can anyone please help me out?
    Thanks
    Shivanjali

    Hi Aamir,
    For my case its not feasible to make a bat file...
    I want to write a direct OS command in adapter only.
    Do you know what is the basic difference for running OS command before processing and after processing.
    In my opinion if i use a OS command after file processing then it ll take a file name with timestamp so there may be a problem...
    thanks
    Shivanjali

  • Archive processed files at receiver file adapter

    Hi Experts,
    I need to archive(copy) processed messages from the target folder to another folder.
    I tried using the Run OS Command after processing and not sure with the exact command.
    Can anyone please provide the exact command (syntax) for copying file from the target file folder to another folder.
    Do we need any authorization from BASIS team to perform this command in run OS Commandline please.
    Note: the original file should not be deleted.
    Thanks in advance!
    Regards,
    Mahakrishnan T.

    hi Mahakrishnan Thangam,
                    I used the OS command feature  where FTP is not used and it worked in the way I already posted. When it comes to FTP in receiver file adapter you need a batch file and a script both on PI server. The script will function as follows
    1. Login to FTP server.
    2. change to target folder you specified in target directory in cc.
      command: cd foldername
    3.Read the file created by receiver file adapter in remote FTP location. File will be copied to local directory of PI server.
        command:  get filename
    4. Now again change remote directory to archive directory.
    5. Copy the file back to FTP server again from local directory to archive directory you want to copy to.
    Now from batch file call this script.
    Would suggest to read these links carefully
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
    http://www.cs.colostate.edu/helpdocs/ftp.html
    Alter algorithms to meet your requirement.
    Hope this solves your problem.
    Regards
    Anupam

  • Can we archive files using the receiver file channel

    Dear all,
    I'm looking for a option, where in I want to archive the files being sent to the target system.
    Do we have that facility in XI Receiver File communication channel.
    Can the same be achieved for JMS Receiver channel.
    Kindly give your comments or responses.
    Regards,
    Younus

    Hi,
    AFAIK only the sender file adapter has such a functionality.
    A workaround would be to send the file to a second receiver (for example a archive directory on your PI server).
    Regards
    Patrick

  • How do I install Elements for Windows 7 PC with 64 bit? Get error message - file archive part missing

    We purchased Elements 12 and Premiere Elements 12 on September 7, 2014 and have tried a variety of things including searching through FAQs on the Adobe site, etc. etc. and cannot get our downloads to work. We are avid computer users and have never had problems downloading software before.
    From our account under "orders" - I have tried clicking on the Akamai download manager and the Alternate Download Method on for each application with the same results.
    We have a Windows 7 PC with a 64 bit operating system and Internet Explorer 11.
    On all attempts we get an Adobe screen with 2 links – 1 for a file ending in .7z and a 2nd file ending in .exe.
    I click on the first file and confirm the download completes at 100% (not paused, etc.) and is in the downloads folder for my user name on the PC.
    I click on the 2nd link for .exe and I receive the error message below – 2nd screen shot – “file archive is missing” all folders/files must be in same folder.
    So I see it’s a winzip file (as a winzip pop up folder had come up also) so I download the free version and unzip the files in the same downloads folder under my user name to try that.
    I click on .exe file link again and same message. I tried copying the files directly to the downloads folder (as they all unzipped into a subfolder called PSE 12 and tried clicking on .exe again but get the same message.
    For Premiere I tried the same and got same results on the 64 bit version download.
    I do not know how to access the software we purchased.
    Any help or advice is appreciated.
    Also - if anyone knows how I can contact Adobe for a full refund so I can just buy the boxed software instead - that would be helpful as well as that is not easy to find online either.
    Thanks!
    Ariel

    I get an error message saying that the quicktime installer will only work on 32 bit
    The QuickTime player works on 64-bit systems. (It's a 32-bit application, but it should run fine using the standard 32-bit-on-64-bit Windows-on-Windows emulation.)
    What's the precise text of your installation error message, dc? (There one or two different ones I can think of that might mention 32-bit)

  • How to create an Excel file from XML in the Receiver File Adapter Comm Ch

    How do I create an Excel file from XML in the Receiver File Adapter Communication Channel? I have my mapping done and I am outputting the file as a comma delimited csv file. However, the target can only process an Excel file (.xls). How can I generate an Excel in XI?
    I saw this blog, but I don't know how to create a XSLT transformation.
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    Any help would be appreciated. Thanks.

    Here are the steps I took to create an XSLT transformation in XI 3.0:
    1. I created my source and target XSDs using XMLSpy.
    2. I created the XSLT mapping from source to target in XMLSpy (referencing the souce XSD schema).
    3. I created another XSLT mapping to format the target into Excel XML.
    4. Import the source and target XSDs in the IR's External Definitions
    5. Zip each XSLT mapping (.xls) and import it into the IR's Imported Archives
    6. Reference the XSL mappings in the Interface Mapping

  • Receiver file adapter posts multiples for singel source files

    Hi,
    I am using wild character in my input source ftp adapter but my receiver file adapter is creating multiple duplicate files. I am not sure why this happens as QOS is set to "Exactly Once" with archive processing mode. I tried with delete mode and the same error occurs. We had no problems testing it in our Dev environment but in QA its acting so strangely...Any advise is appreciated..
    -Teresa

    Hi,
    2. Homany files you posted at oubound directory?
    1.             You said duplicate files at receiver side, is the files having time stamp? if so those are not duplicate files.
    Thanks,
    Satish.

  • Append in Receiver File Adapter

    Hi All,
    i want to append data into the same file in the receiver file Adapter.
    <b>for Example ..</b>I have given XYX a file name in the target directory ..for the first execration it puts the data in to the file..
    for the Next execution its not appending data to that file..
    <b>the Requirement is</b>
    for the first time XYX has data 1234
    for the next time XYZ need to add
    1234 and below this the next data must come
    2345 like this
    how can i archive this in receiver file adapter,?
    thanks
    shakif

    hello,
    if you put that question into the correct forum (i.e. XI) you'll probably get an answer within minutes.
    kind regards, anton

  • Change file extension in receiver file adapter

    File to File Scenario
    Posted: Sep 11, 2006 3:47 PM      Reply      E-mail this post 
    I am working on a File to File scenario.
    Source System gives out a file: abc ( with no extension)
    We need to archive it as: abc.done
    And we need to send it to a FTP server ( receiver File adapter) as abc.txt.
    How can I append a file extension when I archive and
    how can I change the file extension in the receiver File adapter?
    FYI, we are using XI as FTP server so I have created dummy message interface with no mapping.

    Hi,
    If I understood correctly once XI picks up the file it should be archieved as filename.doc and then it should be FTP'ed to a different location with a change in extension filename.txt.
    1. To Archive in the sender communication channel you can use OS Commands after prosessing (>=SP14) to rename the file and archive it. Suggested write a batch file which will rename the file and call the batch file from the OS Command of the sender file adapter. You can either use Archive functionaliy of the Sender adapter or you can write one more command in batch file to move the file to different folder. Make sure you are using fullpath while writing batch file.
    2. As said use dynamic configuration in a dummy mapping and then get the source file name and change the extension.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Thanks,
    Prakash

  • Keep attachments in receiver file adapter

    Hello,
    We receive via Abap proxy a txt file by attachment, and we need to archive that file in other machine using a receiver file adapter but the receiver file adapter doesn´t have any keep attachment option. How can we achieve that?
    Thanks!
    Luis

    Yes, I thoug that was possible but in fact the attachment is intended to be something that should be not accessed from the integration server and so not mapped.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b6/0b733cb7d61952e10000000a11405a/frameset.htm
    I think that the adapter module will be the better choice.
    Regards,
    Sandro

  • The file archive part of adobe pse 11 is missing you neeed all parts in the same folder in order to

    the file archive part of adobe pse 11 is missing you neeed all parts in the same folder in order to extract, please dowwnload all parts, this is the messsgae i keep getting when trying to dowmload pse 11 on to windows

    Try extracting all of the files from the zip file first. I received this same error when trying to run the exe from within the zip.

  • Received File Name in Map

    How to get the Received File Name(using FILE.ReceivedFileName property)  in BizTalk Map. Kindly provide with suggestions.
    Regards, Vivin.

    try this
    http://blogit.create.pt/blogs/tiagooliveira/archive/2009/02/02/Using-xpath-function-in-orchestrations.aspx
    xpath(msgOut,"string(xpathquery)")=msgIn(FILE.ReceivedFileName)
    You can't promote that field which occurs multiple times so in that case we use xpath()
    Regards

  • IChat cannot send or receive files (images, etc...), crashes.

    One particular machine (10.4.11, G5) cannot use iChat to send or receive files. If she attempts to send an image, for example (jpg, just dragged into the text field and sent) she gets an error that reads "AIM error: Could not send instant message to xxx" followed by "The iChat Agent process has unexpectedly quit, disconnecting you from all services. Logging in again will restart it."
    This happens to every user account on the machine, .Mac users, AIM users, etc... testing with Adium works fine with the same accounts.
    Performed an archive and install, trashed all iChat prefs, ran Onyx, AppleJack, etc... nothing has worked.
    Console reports:
    Date/Time: 2008-09-15 11:24:55.002 -0500
    OS Version: 10.4.11 (Build 8S165)
    Report Version: 4
    Command: iChatAgent
    Path: /System/Library/Frameworks/InstantMessage.framework/iChatAgent.app/Contents/Mac OS/iChatAgent
    Parent: iChat [553]
    Version: 3.1.8 (445)
    Build Version: 2
    Project Name: iChat
    Source Version: 4450000
    PID: 563
    Thread: 0
    Exception: EXC_BREAKPOINT (0x0006)
    Code[0]: 0x00000001
    Code[1]: 0x92c0f0d0
    Thread 0 Crashed:
    0 com.apple.Foundation 0x92c0f0d0 _NSRaiseError + 264
    1 com.apple.Foundation 0x92c0ee0c +[NSException raise:format:] + 40
    2 com.apple.Foundation 0x92be7ed0 -[NSObject(NSForwardInvocation) forward::] + 176
    3 libobjc.A.dylib 0x90a460b0 objcmsgForward + 176
    4 com.apple.iChatAgent 0x0008f930 0x1000 + 583984
    5 com.apple.iChatAgent 0x00082b08 0x1000 + 531208
    6 com.apple.iChatAgent 0x000790a4 0x1000 + 491684
    7 com.apple.iChatAgent 0x0007962c 0x1000 + 493100
    8 com.apple.iChatAgent 0x0004a3f0 0x1000 + 300016
    9 com.apple.iChatAgent 0x0004a25c 0x1000 + 299612
    10 com.apple.iChatAgent 0x00049644 0x1000 + 296516
    11 com.apple.iChatAgent 0x0004923c 0x1000 + 295484
    12 com.apple.iChatAgent 0x00046e34 0x1000 + 286260
    13 com.apple.iChatAgent 0x000276ac 0x1000 + 157356
    14 com.apple.iChatAgent 0x000216f0 0x1000 + 132848
    15 com.apple.iChatAgent 0x00020fd4 0x1000 + 131028
    16 com.apple.iChatAgent 0x0001afcc 0x1000 + 106444
    17 com.apple.iChatAgent 0x0001a798 0x1000 + 104344
    18 com.apple.iChatAgent 0x0001a4b4 0x1000 + 103604
    19 com.apple.iChatAgent 0x0001a444 0x1000 + 103492
    20 com.apple.iChatAgent 0x0001a3e0 0x1000 + 103392
    21 com.apple.iChatAgent 0x00019f1c 0x1000 + 102172
    22 com.apple.iChatAgent 0x00018878 0x1000 + 96376
    23 com.apple.iChatAgent 0x0001850c 0x1000 + 95500
    24 com.apple.CoreFoundation 0x907df300 __CFRunLoopDoSources0 + 384
    25 com.apple.CoreFoundation 0x907de830 __CFRunLoopRun + 452
    26 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    27 com.apple.Foundation 0x92c030e4 -[NSRunLoop runMode:beforeDate:] + 172
    28 com.apple.Foundation 0x92c0301c -[NSRunLoop run] + 76
    29 com.apple.iChatAgent 0x00002e04 0x1000 + 7684
    30 com.apple.iChatAgent 0x0000294c 0x1000 + 6476
    31 com.apple.iChatAgent 0x000724c8 0x1000 + 464072
    Thread 1:
    0 libSystem.B.dylib 0x9002c3c8 semaphorewait_signaltrap + 8
    1 libSystem.B.dylib 0x90030eac pthreadcondwait + 480
    2 com.apple.Foundation 0x92bfb284 -[NSConditionLock lockWhenCondition:] + 68
    3 com.apple.iChatAgent 0x00003fc8 0x1000 + 12232
    4 com.apple.iChatAgent 0x00003d60 0x1000 + 11616
    5 com.apple.Foundation 0x92bf4118 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002bd08 pthreadbody + 96
    Thread 2:
    0 libSystem.B.dylib 0x9001f88c select + 12
    1 com.apple.iChatAgent 0x00019a68 0x1000 + 100968
    2 com.apple.iChatAgent 0x00018250 0x1000 + 94800
    3 com.apple.iChatAgent 0x00018184 0x1000 + 94596
    4 libSystem.B.dylib 0x9002bd08 pthreadbody + 96
    Thread 3:
    0 libSystem.B.dylib 0x90054388 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x900541e4 pthreadcondtimedwait + 676
    2 com.apple.iChatAgent 0x0001fdc4 0x1000 + 126404
    3 com.apple.iChatAgent 0x0001fc50 0x1000 + 126032
    4 com.apple.iChatAgent 0x00018250 0x1000 + 94800
    5 com.apple.iChatAgent 0x00018184 0x1000 + 94596
    6 libSystem.B.dylib 0x9002bd08 pthreadbody + 96
    Thread 0 crashed with PPC Thread State 64:
    srr0: 0x0000000092c0f0d0 srr1: 0x100000000202f030 vrsave: 0x0000000000000000
    cr: 0x28028442 xer: 0x0000000000000000 lr: 0x0000000092c0f0a8 ctr: 0x0000000092bd0e5c
    r0: 0x0000000000000000 r1: 0x00000000bfffe8c0 r2: 0x00000000a2bce508 r3: 0x00000000bfffe470
    r4: 0x0000000000000000 r5: 0x0000000092bd0784 r6: 0x00000000bfffe4f4 r7: 0x00000000000000ff
    r8: 0x00000000bfffe4e0 r9: 0x0000000000507800 r10: 0x0000000090a3f628 r11: 0x0000000028028442
    r12: 0x0000000092bd0e5c r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000001
    r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000003fc7 r19: 0x0000000000000000
    r20: 0x000000001d1539ce r21: 0x00000000ad54b716 r22: 0x0000000000000001 r23: 0x000000000050e630
    r24: 0x0000000000544930 r25: 0x00000000bfffea38 r26: 0x0000000000544930 r27: 0x00000000a2be7b04
    r28: 0x0000000000565700 r29: 0x00000000a2bd380c r30: 0x0000000000558ae0 r31: 0x0000000092c0efd8
    Binary Images Description:
    0x1000 - 0x1ecfff com.apple.iChatAgent 3.1.8 (445) /System/Library/Frameworks/InstantMessage.framework/iChatAgent.app/Contents/Mac OS/iChatAgent
    etc, etc, etc...
    So it seems to be a system issue (fails in multiple users), and yet it must be something that isn't replaced by an Archive and Install. Has anyone seen this before, or have any idea on how to fix?
    Thank you VERY much.

    Hi
    Try logging on to AIM on port 443 rather than port 5190.
    Go to IChat in the menu bar > Preferences > Accounts.
    Log out of AIM and then use the Server Settings tab
    Set the port to 443.
    Log back in again.

  • File archive part of  CS6 is missing

    I recently purchased and i'm trying to download and install. I receive this message "File archive part of  CS6 is missing, you need all parts in the same folder.
    I have no idea

    Hey nikkol,
    Please try installing the software from the below mentioned link and let me know:
    Download CS6 products
    Regards,
    Anubha

Maybe you are looking for

  • I want to know the name of motherboard for dv1345ea because i want to replace it with anther one

    my p/n: ef036ea its out of warrnty

  • Can't load driver software

    I inserted 2 new black cartridges and after that the printer stopped printing in black even though the printer told me the cartridges were okay. The doctor said I needed new software. I tried to download the software twice (and deleted the old softwa

  • Is there still a new MIDI standard coming out soon (MIDI 2.0)?

    Hello, I was just wondering what the word on the supposed second coming of MIDI was. I seem to hear about it for a bit, and than hear nothing for a good while. I heard that it will be finalized within a year of MIDI's twenty year anniversary, which i

  • Adding new Corporate Account

    I am having trouble adding my corporate email account as an account.  When I enter my email address and password then click next, it searches for messages then says the username and password is incorrect.  It won't take me to the screen to add my use

  • Sales order(out put edit)

    dear all, hi, i would like to know about the out put edit in a sales order, after giving ba00(order confirmation), then i went for comunication method - its given as LPO1, but i wanted to give it as LOC1 and save the order. but after giving the LOC1