Skip to Content
avatar image
Former Member

dynamic file name

Hi

For dynamic file name i was following this blog:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

But have a question here?

I have mapped the udf to an target field. But how the file name is getting set in the recving side dynamically? or am i mising something. pls explain

thkx

chakoo

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 16, 2007 at 10:42 AM

    I think this is the dynamic feature of from SP-14. The UDF is just to get the fiel name in the Payload nothing else.

    Thanks

    Farooq.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2007 at 10:44 AM

    Hi,

    If you check that blog once again, there is a XML message after Dynamic Configuration image. in that xml only we are setting the Source FTP port, Directory , and Source file with Sourcefile and some junk number 123456. thats what the output shows filename

    Check that blog once again.

    regards

    Aashish Sinha

    PS: Reward points if helpful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 16, 2007 at 10:48 AM

    Hi,

    When u check the box Adapter specific paramaters in Adapter and write the UDF then the system will automatically puck the file name from the source side and keep it in target field name.

    If u want the Source directory then just change the File name as Directory in the UDF then u can get the Directory path.thats it.

    Regards,

    Phani

    Reward Points if Helpful 😉

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      thkx for ur reply and concern chirag but my post is all abt the blog i had posted. having doubts which can be noted from my prev thread in this post