Re: ftp permission

  • From: Mladen Gogala <mgogala@xxxxxxxxxxx>
  • To: pythianbrinsmead@xxxxxxxxx
  • Date: Mon, 25 Sep 2006 21:42:32 -0400

On 09/25/2006 09:26:46 PM, Mark Brinsmead wrote:

> Have you tried SCP instead?  That usually works "out-of-the-box".

Of course, for the ftp lovers, there is sftp which also works through sshd,
but presents an ftp-like interface to the user:

$ sftp localhost
Connecting to localhost...
mgogala@localhost's password:
sftp> cd tmp
sftp> lcd /tmp
sftp> mget *.php
Fetching /home/mgogala/tmp/figure3.php to figure3.php
/home/mgogala/tmp/figure3.php                 100% 1078     1.1KB/s   00:00
Fetching /home/mgogala/tmp/pdo_test.php to pdo_test.php
/home/mgogala/tmp/pdo_test.php                100% 1049     1.0KB/s   00:00
Fetching /home/mgogala/tmp/pdo_test1.php to pdo_test1.php
/home/mgogala/tmp/pdo_test1.php               100%  768     0.8KB/s   00:00
sftp> bye

Of course, there are some differences. For instance, the "prompt" command is 
not recognized. Nevertheless, all true faithful will use sftp and ssh instead 
of ftp, telnet and rsh. 

Mladen Gogala


Other related posts: