Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bio_informatics
    Senior Member
    • Nov 2013
    • 182

    help with FTP

    Hi,
    This is a dumb thing.
    I cannot mirror ftp on shell.

    below is the FTP url I want to mirror/access,

    ftp://ftp.ncbi.nlm.nih.gov/blast/exe...blast+/LATEST/

    But I cannot do that.
    Code:
    >ftp ftp.ncbi.nlm.nih.gov/blast/executables/blast+/
    when I try above command, I get error:
    Code:
    ?Invalid command
    I am lost with this.

    Kindly help with these basic shell commands.
    Thank you.
    Bioinformaticscally calm
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    The original command (from the command line) should just be: "ftp ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/".

    Comment

    • bio_informatics
      Senior Member
      • Nov 2013
      • 182

      #3
      I tried this too.
      But same error.
      Originally posted by dpryan View Post
      The original command (from the command line) should just be: "ftp ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/".
      Bioinformaticscally calm

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Err, that's unlikely. What you probably did was type that inside ftp (i.e., you started running the ftp program and then typed that from its prompt). The likelihood that you would have gotten that had you typed it from the shell is effectively 0, unless you're using same weird OS like windows. Try opening a new terminal window/console/whatever and start again.

        Comment

        • bio_informatics
          Senior Member
          • Nov 2013
          • 182

          #5
          I am using Ubuntu 13.10
          bash terminal

          commands typed:
          1) ftp
          enters into ftp window
          Then:

          2) ftp ftp.ncbi.nlm.nih.gov/blast/executables/blast+/
          gives me error

          3) ftp ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/
          gives me same error

          4) ftp ncbi.nlm.nih.gov/blast/executables/blast+/
          gives me same error.

          Any idea(s)?
          Originally posted by dpryan View Post
          Err, that's unlikely. What you probably did was type that inside ftp (i.e., you started running the ftp program and then typed that from its prompt). The likelihood that you would have gotten that had you typed it from the shell is effectively 0, unless you're using same weird OS like windows. Try opening a new terminal window/console/whatever and start again.
          Bioinformaticscally calm

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Don't do command #1.

            Comment

            • dpryan
              Devon Ryan
              • Jul 2011
              • 3478

              #7
              I should add, just do #3.

              Comment

              • bio_informatics
                Senior Member
                • Nov 2013
                • 182

                #8
                Didn't do that.

                Originally posted by dpryan View Post
                Don't do command #1.
                Still getting the same.
                I tried the remaining commands.

                Thank you for help.
                Bioinformaticscally calm

                Comment

                • rhinoceros
                  Senior Member
                  • Apr 2013
                  • 372

                  #9
                  I never liked ftp much. Instead, to mirror, I'd just:
                  Code:
                  wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/*
                  PS IMO making custom blast databases was nicer with 2.2.28+ than with 2.2.29+, that's why I rolled back. The latest makeblastdb is a pain..

                  PPS your #3 works as long as you're not already in ftp..
                  Last edited by rhinoceros; 01-30-2014, 01:27 PM.
                  savetherhino.org

                  Comment

                  • rflrob
                    Member
                    • May 2010
                    • 50

                    #10
                    You might try:

                    In bash or similar:
                    $ ftp

                    # now in FTP
                    > open ftp.ncbi.nlm.nih.gov
                    > cd blast/executables/blast+/2.2.28
                    > ls
                    > get APPROPRIATE_FILE_HERE

                    Originally posted by bio_informatics View Post
                    I am using Ubuntu 13.10
                    bash terminal

                    commands typed:
                    1) ftp
                    enters into ftp window
                    Then:

                    2) ftp ftp.ncbi.nlm.nih.gov/blast/executables/blast+/
                    gives me error

                    3) ftp ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/
                    gives me same error

                    4) ftp ncbi.nlm.nih.gov/blast/executables/blast+/
                    gives me same error.

                    Any idea(s)?

                    Comment

                    Latest Articles

                    Collapse

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 06-05-2026, 10:09 AM
                    0 responses
                    12 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-04-2026, 08:59 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-02-2026, 12:03 PM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-02-2026, 11:40 AM
                    0 responses
                    22 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...