Fileset-FTP error

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Fileset-FTP error

  • Creator
    Topic
  • #49204
    Chris Williams
    Participant

      I’m working on my first IB Fileset-FTP connection, and I’m wondering if I’ve got something wrong. The files are being picked up and deleted correctly, but when there are no files in the directory to pick up, the box turns red and the thread status goes to “error”. As soon as there are any files to be picked up, it goes back to green and “up”. Is this normal behavior or am I missing something?

      Also, is there anyone working with Dr. First / Rcopia (ePrescribing) who would like to chat off-line?

      Thanks,

      Chris

    Viewing 1 reply thread
    • Author
      Replies
      • #61095
        David Barr
        Participant

          We’ve run into that problem, too.  It seems that some FTP servers give an unexpected return code when doing a directory listing on an empty directory.  The best way to fix this is to have Quovadx patch their FTP driver so that they can handle this responses without an error.  I’m not sure if they’ve done this yet.

          We have a couple work-arounds that we’ve used.  You can try changing the “dir list command” from “nlst” to “nlst -a”.  For some FTP servers, this causes the directories “.” and “..” to show up in the file list even when the directory is empty.  You might have to configure your “directory parse” proc to remove these from the list of files.

          Another solution is to put a file on the FTP server called “DONOTREMOVE.TXT” and modify your “directory parse” proc to always exclude this file.

        • #61096
          Chris Williams
          Participant

            That works so well. I went the nlst -a route, and I’m kicking myself for not thinking of that in the first place.  Thanks much.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.