Flat File to Flat File Scenario using File Adapter

Hi Experts,
                In my scenario, requirement is Flat File to Flat file through File Adapter in PI. At sender end, we would need to use Sender File Adapter (NFS) and receiver end we would need to use Receiver File Adapter (FTP). File would be coming as a encrypted format, and the file needs to be sent in encrypted format.
                Any idea how to proceed with this requirement would be helpful.
Thanks and Regards
Soumya

Hi Soumya,
You need to choose the FTP in the "transport protocol" option. Then in the FTP connection parameters choose the option Connection Security and assign the value "FTPS for control and Data Connection". Then the "Command Order" will show up below that option and you could leave the default value itself. If you are using Public private key certificates of X.509 then you could choose the option "Use x.509 certificate for client authentication" and assign the values to the "keystore" and "certificate & private key" fields.
Note: To use the FTP with SSL you need to add the CA certificate to the TrustedCAs keystore view.
Regards,
Vishnu.

Similar Messages

  • What will be the form of file protocol (file://) in firefox?? Using file://servername/foldername , I am uable to open a folder. But it was supporting in other browsers. Need a prompt solution of that issue.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/918107]]</blockquote>
    what will be the form of file protocol (file://) in firefox?? Using file://servername/foldername , I am uable to open a folder. But it was supporting in other browsers. Need a prompt solution of that issue.
    I have used following code snippets:
    <a href="file://PC2/c$">open folder </a>
    It is used to open C:/. But it is not working in other browser except Mozilla.
    Need a solution as soon as possible...

    Hi,
    Please try '''file://///servername/sharename/''' or '''\\servername\sharename'''

  • Sample Scenarios using JVM Adapter

    Dear Experts,
    Can you Pls provide me some Stap-by-Step  Sample Scenarios using 'JVM' Adapter ?
    I will be thankful to you for your great contribution
    Cordially
    Barkath Shaik

    try this
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/u/34500 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    JMS Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20the%20content%20conversion%20module%20with%20the%20xi%203%20j2ee%20jms%20adapter
    /thread/217893 [original link is broken]
    JMS adapter -Message format pre-requisites
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    /people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2
    /people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2
    /people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper
    Thanks

  • Cant do a file get from external server using file sender adapter with ftp

    Hi all,
    Up until now our company has only used the file sender adapter with ftp protocol to get a file from our XI server for processing and input the file into an integration process
    I have a requirement to do an ftp file get from an external server
    From our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...).  So all firewall issues and communications are fine
    Unfortunately I cannot currently pull files from the external server using the XI file adapter with ftp protocol from the XI development server AWB017
    FTP Connection Parameters: External server name using port 21, Data Connection is Passive, No security, I supply a userid and password
    Processing Parameters: Processing Mode is Archive (I tried test but this did not work either)
    No messages appear in the RWB
    Is there something else that I need to set up in order for the external ftp get to work via the XI file adapter?
    Regards,
    Mike

    Thanks for your responses.
    I have found the error messages in the File Adapter Monitor
    Scenario 1
    When I prefix the source directory with a forward slash, eg <b>/Folder/Subfolder</b> the error message is as follows
    <b>EST: Error: Error connecting to ftp server 'ip address': FTPEx: /Folder/Subfolder: The system cannot find the path specified</b>
    Scenario 2
    When I DO NOT prefix the source directory with a forward slash, eg <b>Folder/Subfolder</b> a different error message is returned
    <b>Error: Retrieving file 'FILENAME.XML' failed unexpectedly: FTPEx: Folder/Subfolder: The system cannot find the path specified</b>
    At least in this scenario the adapter has been able to identify the file on the external FTP site but cannot retrieve it
    Questions
    I thought that the backslash prefix for the source directory was mandatory but I am receiving an error in each scenario
    I receive the same error message whether the Processing Mode is 'Archive' or 'Test'
    The logs on the external ftp server seem to indicate that I am simply connecting, sending username and password then quiting straight away. I am not issuing any commands that they can see
    I thought that being a Sender adapter it would inherently execute a Pull or Get command
    To recap, from our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues, communications, userid and password are fine
    Has anyone experienced these issues?
    Please advise on next course of action?
    Regards,
    Mike

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Appending in file and supplying file name at run time using File Adapter

    Hi,
    Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
    Another query is can we create the file at run time with the supplied file name?

    In order to append to a file, we can use Append="true" in the interaction spec for the File/Ftp adapter.
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="/home/adapter/output"
    FileNamingConvention="OutputFile.txt"
    NumberMessages="1"
    Append="true"
    >
    Filename we can specify in wsdl...

  • Should files be securely deleted if using File Vault?

    Do I need to "shred" or in someway securely delete files and mail that sit in File Vault? I am new to the MacOS and I am not sure where deleted files/mail go. If they don't leave the Home Folder it should be ok but if they somehow are relocated outside the Home Folder, I assume I would have a problem unless they are securely deleted.

    Interesting question, sgmiller.
    The default Trash location is a hidden directory in your Home folder, ~/.Trash, which would be in your File Vault, assuming the File Vault includes your entire Home directory and doesn't leave anything out.
    When you delete a file, its directory entry is updated, rewriting the parent directory of the file to the ~/.Trash folder. Then when you empty the Trash, the directory entry of the file is simply removed and the file disappears from the file system. They don't really go anywhere, they just disappear. However, the bytes still remain on the disk until something else comes along and writes to those sectors, so Secure Delete can be used to overwrite the previously used areas of the disk with zeros.
    I guess it depends on how careful you want to be. You may also be interested in using Secure Virtual Memory if you aren't already, under "System Preferences->Security".
    Clear as mud, my apologies!

  • Transfer of all files in a directory tree using FTP adapter?

    Hi,
    I'm looking for a solution to transfer a whole directory tree, including the content, from one location to another using the FTP adapter.
    Is there an easy way to accomplish this?
    Any help would be appreciated.
    Thanks
    Sigrid

    Hi Sigrid,
    I'm just wondering on the need to do that using SOA. Is it a regular transfer or one time?
    There's a way to move a single file from one FTP location to another on the same or different FTP server (link to the cases). But in order to move all the files in a directory, you'll have to loop this. The high level steps will be:
    - List all the files recursively that are present in your directory using File List operation
    - Implement the MOVE file operation (or COPY operation) of the FTP Adapter
    - Invoke this MOVE operation in a while loop and pass the file names, as gathered from the File List operation, one by one to MOVE operation
    You can also use single Java Embedding activity and call a Java class that does the File Transfer but depends on your requirements.
    Let us know how you get along.
    Regards,
    Neeraj Sehgal

  • How to get the read input file name in bpel process using File Adapter.

    Hi,
    I am reading a .txt file from configured directory using File Adapter.
    I had configured file adapter to read file with naming pattern “SalesOrder.*\.txt”.
    Now I had requirement to access the actual file name in bpel process eg: “SalesOrder123.txt”
    How can I get the file name in bpel process.
    Any help is appreciated.
    Vidya.

    1) create a variable of message type. Click on Browse Message type. Here you select Message Type-->Project WSDL Files -->fileAdapterInboundHeader-->Message Types-->Inboundheader_msg. Then click OK
    2)Next dbl Click on teh receive Activity which is receing your File from teh File Adapter. Go to the Adapter Tab. Click on Browse variable and select the variable that you had just created above.
    This would get the File name in the variable declared

  • Error in File to JDBC Scenario using File Content Conversion.

    Hi ,
    I am sending a text file in CSV format, with all the configurations done in the sender and receiver channels.
    But the adapter monitoring says this:
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter 'EmployeeDetails.fieldFixedLengths' or 'EmployeeDetails.fieldSeparator' is missing
    Consistency check: no. of arguments in 'EmployeeDetails.fieldFixedLength' does not match 'EmployeeDetails.fieldNames' (0 <> 6)
    One thing to note here is that
    1. EmployeeDetails.fieldSeparator is given as ','
    2. I haven't used any fieldFixedLengths.
    Pointers in this regard would be higly appreciated.
    Regards,
    Younus

    cross check if you have specified EmployeeDetails.fieldFixedLengths and EmployeeDetails.fieldSeparator. only one must be used.
    in case you have already specified,
    EmployeeDetails.fieldSeparator as ',' , then delete that line and reenter the details again, activate and run the scenario.

  • File to Multiple Idoc scenario using FCC

    Hi All,
    I am working in a file to idoc scenario. Here input is a  fixed length file having  Header and Item details which will repeat for many times.The number idoc in the target is based on the number of header in the input field. I have created a source structure with header as 1..unbounded and i have map the header with the target idoc.
    In configuration part
    Recordset Structure  Header,9999,Item,9999
    I am facing an error in communication channel as
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation in last recordset"
    Please help me to resolve this issue. Thanks in advance.

    Hi,
    Source structure is
    DATA         1...1
      Record      0...unbounded
          Header  0...unbounded
          Item       0...unbounded
    Here i am mapping Header to the target Idoc
    In configuration
    RecordSet Name: Record
    RecordSet Structure:Header,9999,Item,9999
    RecordSet  Sequence:Varaible
    Key Filed name : RecordType
    Header.fieldFixedLength  -
    Header.fieldNames          -
    Item.fieldFixedLength      -
    Item.fieldNames               -
    Header.keyFieldValue   : H
    Item.KeyFieldValue         :I
    Header.lastFieldOptional   YES
    Item.lastFieldOptional         YES

  • How to read an excel file which contains multiple tabs using File adapter

    Hi BPEL gurus,
    I have a requirement where i need to read an EXCEL file, which has three tabs inside the file. All the three tabs has data in it. I have seen few examples where file adapter reads an excel file with data present inside a single tab but not with multiple tabs.
    If anyone has worked on this scenario, please provide your suggestions/inputs/links etc.
    Thanks in advance

    hi Sathish,
    this might help
    PI/XI: Reading MS Excel's XLSX and XLSM files with standard PI modules - easily...
    thanks and regards,
    Praveen T

  • How to archive file on the receiver side using file adapter

    Hi All,
              In our company we have many file to file scenarios some of them for B2B communication. We want to archive all the files that are sent from vendor to our company. Is there a way of archiving the orignal files being sent by the vendors?
    Regards,
    Xier
    Message was edited by:
            XIer

    hey
    >>we want to archive the files before they are processed by XI, i.e the way the sender adapter picks it up.
    well if the files are not picked up by XI then they will stay in the sender directory then why do u want to archive them and create a duplicate copy.
    files are archived when they are picked by sender file adapter so that in future if we have any issue in message transfer we can resend them,simple set the mode as archive in the sender CC.
    Thanx
    Aamir

  • How 2 read two files from 2 diff. directories, using single adapter

    How 2 read two files from 2 diff. directories in same system, using single file adapter.

    you can use advanced selection for source file
    see
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

  • Where Is File Stored On Computer When Using: File.applicationStorageDirectory

    When using the File.applicationStorageDirectory function, where is Adobe storing the program on an Windows/Apple computer? I know what it means, but I would just like to be able to verify for myself that the file is being created when I'm developing my application.

    Adobe Flash Platform * Working with File objects in AIR
    Windows: C:\Documents and settings\userName\ApplicationData\applicationID\Local Store
    Mac: path/Library/Application Support/applicationid/Local Store (AIR 3.3 and later), where path is is either /Users/userName/Library/Containers/bundle-id/Data (sandboxed environment)                     or /Users/userName (when running outside a sandboxed environment)

Maybe you are looking for