On Wed, 13 Oct 1999, Greg A. Woods wrote:

> > How about transferring multiple files that can't easily be expressed with
> > a wildcard, or in both directions?
> 
> And just how do you do this more conveniently with FTP?  Let me guess
> one scenario where this would make any difference: you have a pre-canned
> list of files.  If so then just do something like the equivalent of "scp
> `cat file.list` remote.host:/dest/dir".  This isn't rocket science!  ;-)

OK, how about the other direction, where you want to get a bunch of files
from a remote machine.  Sure, you can do it with scp, but ftp is more
convenient in some cases.

> > Or transferring files that you don't
> > know the path of (one sftp session is more efficient that an ssh session
> > and an scp).
> 
> Unless you do this extremely frequently and every time you do it there's
> a different unknown pathname involved then I personally don't see that
> efficiency matters a whole heck of a lot.  The point is to get the job
> done.  As Knuth has said many times over "Premature optimisation is the
> root of all evil...."

Again, there's nothing that can be done with ftp that can't also be done
with a combination of a login shell and a remote copy program.  But as
many other people have said "To each his own".  I wanted an ftp over ssh
program, so I wrote one (0.1 tomorrow, really).  If anyone else wants to
use it, cool.  If not, that's fine too.

Brian

Reply via email to