On Thu, Jul 15, 2010 at 09:45:04PM +0200, Sylvain Rabot wrote:
> lftp -u <login>:<password> $HOST -e "pget $HPATH"
> 
> It works great if we expect the fact that everyone can see my login and
> password using top or ps.

You can try to use ~/.netrc file:
        machine <HOST> login <LOGIN> password <PASSWORD>

Then lftp will use that login/password by default for the host.

-- 
   Alexander.

Reply via email to