Results 1 to 6 of 6

Thread: Using ftp from the command line.

  1. #1

    Using ftp from the command line.

    Hi all,

    I've decided to become more dependent on the command line. So, I decided to start using ftp from the command line instead of a gui ftp client. I download a file like this, for example:

    get 175743.gif

    It will then place the file in /home/chad. Which, is okay, but I would like it to be placed in a directory like /home/chad/web. What would the command be to accomplish this? I found a great mini-HOWTO on the linuxdoc.org site but this part wasn't that clear.

    Thanks for any help you can give.


  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re: Using ftp from the command line.

    Code:
    # ftp (or ncftp)
    open what.ever.site
    cd /where/you/want/to/get/the/file/from
    lcd /where/you/want/to/put/the/file
    get the.file
    It's that easy...

  3. #3

    Re: Using ftp from the command line.

    Hey, thanks for the info.

    Is it possible to "get" more than 1 file at a time?

    Thanks again!

  4. #4
    Senior Member
    Join Date
    May 2001
    Posts
    353

    Re: Using ftp from the command line.

    Install ncftp and read its manpage, the info there is very good and easy to understand.

    I canīt remember how to download more than one file at a time though, but Iīm almost 100% certain it is possible (atleast with ncftp).

  5. #5

    Re: Using ftp from the command line.


    I canīt remember how to download more than one file at a time though, but Iīm almost 100% certain it is possible (atleast with ncftp).
    mget ?

  6. #6

    Re: Using ftp from the command line.

    getting more then one file can be done with mget *.gif for example now it only gets gifs ..

Similar Threads

  1. Determine RH Version From Command Line
    By Pleiades in forum Redhat / Fedora
    Replies: 4
    Last Post: 03-19-2007, 02:07 PM
  2. command line help
    By jan1024188 in forum Windows - General Topics
    Replies: 1
    Last Post: 01-10-2007, 09:48 AM
  3. Do I need a command line?
    By Kauno-Uolevi in forum Linux - General Topics
    Replies: 18
    Last Post: 08-17-2003, 03:47 PM
  4. Games and Command Line Help PLease
    By AtomiC in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 08-15-2002, 03:35 AM
  5. Command line Printtool?
    By datamike in forum Linux - General Topics
    Replies: 2
    Last Post: 02-14-2002, 01:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •