Linux FTP scripting

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Linux FTP scripting

  • Creator
    Topic
  • #49590
    Tim Hallbauer
    Participant

    Hey Guys and Gals,

    We are converting from Unix to Linux and making a quantum leap in Cloverleaf releases. I had a FTP script in Unix that worked perfectly. The script doesn’t run in Linux. I get a ton of errors and know nothing about Linux. I am also trying to use the ‘setsite’  / stop and start commands which USED to work too.

Viewing 3 reply threads
  • Author
    Replies
    • #62635
      John Hamilton
      Participant

      Post a list of your errors and we can help.

    • #62636
      Tim Hallbauer
      Participant

      Here’s the script:

      -bash-2.05b$ more CERNER_USAGE_PROCESS_TEST

      #********************************

      # CERNER_USAGE_PROCESS_TEST

      #

      # Created by : Tim Hallbauer

      # Date:

    • #62637
      Tim Hallbauer
      Participant

      Well, I figured out that for some reason Linux does not like the blank lines and I had to comment them out. This took care of some of the errors.  I also commented out everything except the cd /cloverleaf/qdx5.4.1/integrator  and it’s telling me that the file doesn’t exist?

    • #62638
      David Barr
      Participant

      Look at the file with “less -u” to see if you have invisible carriage returns at the end of your lines.

      Add a line to the top of the script to explicitly state which shell interpreter you are using (like #!/bin/bash).

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

Forum Statistics

Registered Users
5,127
Forums
28
Topics
9,300
Replies
34,445
Topic Tags
288
Empty Topic Tags
10