Using FTP from the command line
Michael.Zoet at zoet.de
Mon Mar 31 13:01:52 UTC 2008
> 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 ;-).
More information about the ubuntu-users