Skip to Content
avatar image
Former Member

How to schedule Adapter to Pickup File on external FTP Server

Any solution is very much appreciated for the following Problem.

My Scenarios are File to XI to FIle

My problem is XI is picking up file on FTP Server while file is being written by Webservice ( This Webservice can not write .tmp file or movie file from one directory to another. So these options are ruled out )

These are proposed steps:

1. Job Scheduler creates Dummy File on XI File System

2. XI Picks up File on XI File System and Invokes External Webservice and receives Response that a File "MadFile" has been written to external FTP Server.

3. After XI receives response from webservice, XI should get "MadFile" from FTP Server

How Can I implement step 3 above.

( Please do not suggest executing scripts as the the application where webservice running do not want to write it )

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 10, 2007 at 10:00 PM

    Use, the option of availability time for the File adapter in the latest SPS19 in XI 3.0 or SPS10 in PI 7.0

    for more-

    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

    rgds,

    moorthy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bhavesh Kantilal

      As Moorthy suggested, I was waiting for that feature for quite some time. We are on PI7.0 (SP9) which is XI3.0(SP18). We will be having discussion with our basis team to apply SP10. I'm sure lot of folks are waiting for this feature.

      Thanks again for al lyour suggestions.

  • avatar image
    Former Member
    Jan 10, 2007 at 09:34 PM

    It can be done using BPM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      <i>> Create one receive step to receive the dummy file

      > create one synchronous send step to send and receive

      > the web response

      > <b>Place 2nd receive step, after this send step to

      > pickup the actual file.</b>

      > In this way the Actual file will only be picked up

      > when send step is received the response back.</i>

      Thank you but you are scheduling Sender File adapter during 2nd Receive step. File will be polled as usual and come into Integration engine and will wait until BPM start. IN other words you still will be receving the partial file as you are scheduling Sender file adapter to poll actual file.

      Any more ideas ?

  • avatar image
    Former Member
    Jan 10, 2007 at 09:38 PM

    May be that in your case is enough to use the specific parameter in the file adapter sender:

    <i>Advanced Mode

    To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.

    <b>Msecs to Wait Before Modification Check</b>

    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.</i>

    Regards,

    Sandro

    Add comment
    10|10000 characters needed characters exceeded