FTP error

  • Creator
    Topic
  • #52601
    Yvonne Gaffney
    Participant

      I am taking an hl7 message and splitting it into two separate flat files and then FTPing those files to a server.  I have the Cloverleaf set up to send to the server via separate FTP threads and the only difference is the file name I am dropping the data into.  The server does not seem to like this as one of the two threads will error since the files are going over about the same time.  Any suggestions on how to prevent the thread from erring?

      [fset:wrte:ERR /0: is_MicroLab2:07/20/2011 10:10:34] Error while trying to write

      MicroLab2.

                                     Detailed error:FTP response reading failed

                                     Curl errCode:56 Curl error: failure when receivi

      ng data from the peer

    Viewing 3 reply threads
    • Author
      Replies
      • #74817
        Jim Kosloskey
        Participant

          Yvonne,

          I am not sure if this applies, but I would make sure the connections are in Passive mode (make sure the ‘ACTIVE Mode’ check box is not checked on the FTP Options container of the FTP Options Tab of the Fileset/FTP Protocol configuration).

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #74818
          Yvonne Gaffney
          Participant

            Confirmed that the “ACTIVE” was not checked.  Any other suggestions?

          • #74819
            Jim Kosloskey
            Participant

              Yvonne,

              No that was a shot in the dark.

              Are both files going to the same directory?

              It appears like when the FTP Server is trying to give a response (like the all done) the problem is happening.

              What release of Cloverleaf?

              Have you tried to simulate the situation from command line ftp?

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

            • #74820
              Charlie Bursell
              Participant

                Curl error 56 is a network failure

                It should not matter to the FTP host if you have two separate connections as each will be assigned a separate data port.  It is the same as two peple signed in FTP at the same time.

                You may want to ask the Network people on the host to take a look.

                If you do try to simulate from the command line as Jim suggests, open two windows and FTP to host and directory from each. Try to send a file from both at the same time.

                Wierd problem you may need a sniffer.  Wireshark is good

                BTW, since this is HL7 data I assume you are sending in binary mode?

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