On Tue, Aug 07, 2001 at 09:51:40AM -0400, George Entenman wrote:
> I would like to write a script for lftp that would do things that 
> I usually do for a particular site (log in, cd and lcd to the usual 
> directories, etc.).  I'd then like to start lftp with the -f <script> option, 
> have it execute those commands and then leave me in the state that the script 
> ended in (e.g., logged in, in specific directories, etc.).

Try:

        lftp -e "source script"

Maybe bookmarks can be useful too. (A trick: you can add `-e "commands"'
to a bookmark manually and these commands will be automatically executed
after opening of the site).

-- 
   Alexander.                      | http://www.yars.free.net/~lav/  

Reply via email to