Results 1 to 5 of 5

Thread: FTP via command line?

  1. #1
    Join Date
    Jan 2013
    Beans
    27

    FTP via command line?

    I am new to Ubuntu and in windows I use filezilla to log in to my ftp server. In Ubuntu, i know there is also a filezilla, but i am just curious is there any way to connect to the server via command line?

    Thanks

  2. #2
    ahallubuntu is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Jul 2005
    Beans
    2,050

    Re: FTP via command line?

    Actually, people have been using FTP on the command line since the beginning. All these Gui tools were built later to make it easier for you.

    From the command line, simply type

    Code:
    ftp ADDRESS
    where ADDRESS is the ftp site you are trying to get to. You can use "cd" and "ls" to navigate. Use the commands "get" to download a file and "put" to upload.

    Personally, even though I am quite comfortable in a terminal, I prefer using the Gui environment for FTP when I can. I do it in Nautilus (the built-in file manager) in Ubuntu. Just connect to an FTP server which will open a folder, then drag and drop to other windows to copy files.

  3. #3
    Join Date
    Jan 2013
    Beans
    27

    Re: FTP via command line?

    Quote Originally Posted by ahallubuntu View Post
    Actually, people have been using FTP on the command line since the beginning. All these Gui tools were built later to make it easier for you.

    From the command line, simply type

    Code:
    ftp ADDRESS
    where ADDRESS is the ftp site you are trying to get to. You can use "cd" and "ls" to navigate. Use the commands "get" to download a file and "put" to upload.

    Personally, even though I am quite comfortable in a terminal, I prefer using the Gui environment for FTP when I can. I do it in Nautilus (the built-in file manager) in Ubuntu. Just connect to an FTP server which will open a folder, then drag and drop to other windows to copy files.
    I tried ftp command .. and find it not working.. is it because the server require username and password?

  4. #4
    ahallubuntu is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Jul 2005
    Beans
    2,050

    Re: FTP via command line?

    If you're trying to connect to an anonymous FTP server, try the username "anonymous" .

  5. #5
    Join Date
    Jan 2013
    Beans
    27

    Re: FTP via command line?

    actually, my question is I have a username and password, but when I try to connect using 'ftp ADDRESS', it doesn't give me the chance to enter my username and password.

    I might have been unclear in my previous post.

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
  •