Re: Using FTP from the command line



As Michael mentioned there are any number of solutions. Until you find
one you like you could also ctl+alt+F[1-6] for a new terminal. Just
remember where you left your ftp session.

Fred

On Mon, 2008-03-31 at 15:01 +0200, Michael Zoet wrote:
On 31-03-2008 14.37, Dotan Cohen wrote:

I am getting more comfortable on the command line and I use FTP there
often. However, I have one issue with it: How can one browse the local
filesystem while in FTP mode? All I could find is lcd, for 'local cd'.
But how can I 'ls' and 'pwd' on the _local_ box while I am in FTP
mode? Note that I cannot use a graphical FTP client for this project,
as the machine has no X. Thanks.

---end quoted text---

Hi Dotan,

I'd recommend the package ncftp which has the commands lls (list local files)
and lpwd (local working directory).

I use gftp-text for command line ftp. It is derived from the GUI ftp
program gftp. With gftp-text you have the commands lpwd, lcd and so on also.

apt-get install gftp-text will get you started.

You see there are a lot of alternative ftp command line programms for
Linux/Unix. The old and "normal" ftp program on every Linux/Unix box is
rather old and odd. I think it exists since 1972 or so ;-).

Michael



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Mime type?
    ... options for not sending these commands. ... >>I was into the Fetch FTP web site and this is what I found - it looks ... >> My server does not recognize them. ...
    (microsoft.public.inetserver.iis)
  • Re: Missing bin directory
    ... and I'm wondering how I can get back some basic commands such as ... I have ftp access. ... or from another identical system. ... Let's take a look on my box what packages are in bin: ...
    (comp.os.linux.misc)
  • Re: Anyone know how to complete this script?
    ... Then you can set an envionmental variable such as "DAT" and call it in a script ... Then you can create a text file (FTP-CMD.TXT) of commands that can then be used by using FTP ...
    (microsoft.public.win2000.general)
  • Re: Script that checks for existence of file on remote server.
    ... that the file was FTP'd over onto the REMOTE system, ... If you are administrator of both systems and can do remote shell ... commands, you can simply set up so that you can issue "rsh" commands. ... If you must use FTP to do this, you can always capture your FTP ...
    (comp.unix.aix)
  • Re: Missing bin directory
    ... I have ftp access. ... Is it possible recreate the bin directory without mkdir or a cd? ... the commands don't need to be in /bin in order to run - this is just ...
    (comp.os.linux.misc)