Re: Using FTP from the command line




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

  • FTP LS problem
    ... I have a customer who is having trouble accessing my FTP site. ... connect and log in just fine, but the LS command fails unless an LCD ... 150 Opening ASCII mode data connection for /bin/ls. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Using FTP from the command line
    ... filesystem while in FTP mode? ... All I could find is lcd, ... But how can I 'ls' and 'pwd' on the _local_ box while I am in FTP ...
    (Ubuntu)
  • file not found with lcd command
    ... When I execute ftp commands in cmd promptmy lcd command is ... When I execute the commands from here, what i've given, in ftp> mode, ...
    (comp.unix.shell)
  • lcd referring remote machine
    ... When I execute ftp commands in cmd promptmy lcd command is ... When I execute the commands from here, what i've given, in ftp> mode, ...
    (comp.unix.shell)
  • Re: Need a kick in the Butt on FTP from AS/400 to PC or FTP Server
    ... Create an FTPINPUT file containing ... 2e) quit ... 3b) lcd /qsys.lib/mylib.lib ... run your FTP ...
    (comp.sys.ibm.as400.misc)