Fileset FTP ?????

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Fileset FTP ?????

  • Creator
    Topic
  • #48590
    April Dunbar
    Participant

      Good Morning,

      I am trying to setup a ftp outbound interface to a radiology company that wants our orders and results in a batch file.  I tried setting up the fileset ftp for outbound connection, but I get the following error : Retries exceeded connecting to (ip address).  

      I manually tried to telnet to the ip address and logged in fine with the same info that I have setup.  

      Any ideas or suggestions?

      Thanks, April Dunbar 😕

    Viewing 8 reply threads
    • Author
      Replies
      • #59078
        Jim Kosloskey
        Participant

          April,

          Try to manually FTP (instead of Telnet) to the system.

          Jim Kosloskey

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

        • #59079
          April Dunbar
          Participant

            Hi Jim,

            I just tried that and the manual ftp also works.  

            I stopped and restarted the process and now I am getting the following error: FTP command ‘CWD quovadx/qdx5.2/integrator^M failed: ‘550 quovadx/qdx5.2/integrator: The system cannot find the path specified.

            I tried adding the / in front of the specified directory path and still am getting the same error.  Does the outbound fileset ftp need to be pointing to a certain directory path?  And I have no idea where it is pulling the ^M from in the path.

            Any other suggestions?

            April

          • #59080
            April Dunbar
            Participant

              Yeah, I finally got the connection working and it sends the messages ftp.  Another question though – how do I set it up to only send the messages in a batch once a day?  I looked at the scheduling option but it appears that is for the inbound ftp.  Is there a tcl that would send these in a batch that anyone would be willing to share?  Or any other suggestions?  

              Thanks, April Dunbar

              aprild@carrollhospitalcenter.org

            • #59081
              David Gordon
              Participant

                Any time we’ve done batch FTP, we’ve done it externally from Cloverleaf.  For instance, we do a Fileset Local protocol, and then have a cron job that runs a script that concatenates and removes the files, and then FTPs them.

                It just seemed to be the easier option in the long run.

              • #59082
                James Cobane
                Participant

                  Another option would be to set up cron to start and stop the outbound thread at the scheduled times; you could even use the Alert functionality with the Time Window to perhaps hold/release or start/stop the outbound thread at the desired time(s).  You can even set an Alert to stop/hold the outbound thread if it inadvertantly gets started/released outside the desired time window.  Just some food for thought.

                  Jim Cobane

                  Henry Ford Health

                • #59083
                  Jim Kosloskey
                  Participant

                    April,

                    You could build the files Fileset/FTP local in a local directory.

                    Then set up another set of threads.

                    Inbound Fileset/FTP local to pick up the files with scheduling.

                    Outbound FTP to your final destination.

                    The second set of threads’ ib thread will pickup files created by the initial Fileset/FTP local outbound thread and deliver them via FTP to your destination. If you set the scheduling to once per day they will only be picked up once per day but created trhought the day.

                    Jim Kosloskey

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

                  • #59084
                    April Dunbar
                    Participant

                      Thanks everyone, but Jim’s method seems the most straight forward.  I set this up, but am getting errors saying the file is busy when trying to start the inbound local thread.  Right now the file doesn’t even exist so I don’t understand how it can be busy.  Any suggestions?

                      Thanks, April

                    • #59085
                      James Cobane
                      Participant

                        April,

                        Are you shutting down the OB local-fileset thread, befor starting the IB local-fileset that reads it?  It may be a matter of the file being locked by the outbound thread that wants to write to it.

                        Jim Cobane

                        Henry Ford Health

                      • #59086
                        Jim Kosloskey
                        Participant

                          April,

                          I was assuming you were building multiple files to be FTP’d (like num files).

                          If you are not then you might need to shut down the OB thread that is creating the files as Jim Cobane indicated in order for the IB thread of the second set of threads to not receive an error.

                          Jim Kosloskey

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

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