File Receive Adapter Issue – Grabbing files too quickly.

Home Page Forums BizTalk 2004 – BizTalk 2010 File Receive Adapter Issue – Grabbing files too quickly.

Viewing 1 reply thread
  • Author
    Posts
    • #26535

      Hi there,

       

      We are having a bit of an issue where BizTalk is polling a file location that is an endpoint for an FTP service. FTP Service sends and checks every 30 seconds.

      Unfortunately BizTalk grabs the file too quickly and the FTP service determines that it hasn’t created it so sends it again causing duplication.

       

      What the best way of dealing with this one.

      I have considered using a SQL agent job to enable the and disable the Receive Location with a 5 second delay in the middle.

       

      Regards

      Guy

    • #26536

      Enabling and disabling the receive location is no guarantee that the FTP adapter will not try and retrieve a partial file.

      The best solution is at the file creation end. Write the file to a temp directory, when complete, move it to the FTP receive directory.

      Make sure these directories are on the same disk, so that the file move simply changes the directory pointers and the file itself is not copied.

      • #26537

        Yes I would if we had control of the Ftp. This is an external party that sends and checks.

        • #26538

          I have resolved this by setting up a scheduled task that calls the WMI Enable Receive Port and Disable Receive Port script.

          Set the task to run on the hour and works like a charm.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.