Skip to Content
author's profile photo Former Member
Former Member

File Adapter - pass in target directory as parameter

Hi

I'm currently using a number of File/FTP Communication Channels

all of which talk to the same FTP server

but I have a requirement to send my translated file to specific directories on the FTP Server

Ideally I'd like to have just 1 FTP Comms channel that has parameters for the Target Directory - how can this be done exactly.

I can see in the File/FTP comms channel in advanced tab the ability to provide parameters and the saphelp

is saying I'd need to pass in a directory paramater.... But where do I get to do this - I can think of Receiver or Interface Determination

but I can see nothing there to do this.... what am I missing ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 11:00 AM

    Use Variable Substitution...

    Check this..

    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi

    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 16, 2008 at 11:09 AM

    hi,

    In your Receiver Determination, you can add multiple Receievers and you can also add the condition on which the receiver has to be choosen.

    you can refer to:

    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

    regards,

    ujjwal kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 16, 2008 at 11:10 AM

    in File Receiver CC,

    in Variable Substitution

    var1=payload:mtsp,1,Name,1

    File Name = %var1%.xml

    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.