Results 1 to 2 of 2

Thread: Terminal Command to specify target location for ftp "get"

  1. #1
    Join Date
    Aug 2012
    Beans
    7

    Terminal Command to specify target location for ftp "get"

    Hi,

    I'm connected to my ftp server (unix) by using the gnome-terminal:

    When I use for example:
    ftp> get image1.jpg

    How can I tell where this file is stored on my local machine?

    What is the command if I want "image1.jpg" to show up on the Desktop of my local machine?

    Thank you in advance for your help!

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Terminal Command to specify target location for ftp "get"

    You need to use the lcd (local change directory) command, for example:
    Code:
    ftp> lcd ~/Desktop
    Local directory now /home/rob/Desktop
    If you don't use lcd first then ftp defaults to saving files in your home directory.
    Cheesemill

Tags for this Thread

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
  •