Using FTP from the command line

Fred Roller froller at tnclimited.com
Mon Mar 31 13:12:39 UTC 2008


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
> 





More information about the ubuntu-users mailing list