lftp  

Re: lftp question

Alexander V. Lukyanov
Fri, 16 Apr 2004 02:44:26 -0700

On Thu, Apr 15, 2004 at 11:53:33PM -0500, Phex Rocakvich wrote:
> Hello, I'm a long time user of your wonderfull lftp. But I and a few 
> friends of mine that use it have been wondering something. Is there a 
> way to save certian options for a specific site in the bookmark list? 
> The reason I ask, is due to the fact everytime I login to a specific 
> site, I'm forced to keep retyping alot of commands which becomes 
> tedious. If there's no way to do this with the current release, will you 
> implement something similar to this in the next?

You can use settings with closure:

        set ftp:passive/ftp.site1.com off
        set ftp:passive/*.site2.com on
etc.

-- 
   Alexander.