Gentoo Archives: gentoo-user

From: hw <hw@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lftp -u user,pass(word
Date: Tue, 05 Apr 2016 18:06:22
Message-Id: 5703FE90.5010404@gc-24.de
In Reply to: Re: [gentoo-user] lftp -u user,pass(word by Neil Bothwick
1 Neil Bothwick schrieb:
2 > On Tue, 5 Apr 2016 14:43:25 +0200, hw wrote:
3 >
4 >> how do you use lftp (to mirror a remote site)
5 >> when the password you have contains a bracket?
6 >>
7 >> I'm trying 'lftp -u user,pass(word ftp.example.com', and
8 >> there appears to be no way to escape characters in the
9 >> password. Using single quotes also doesn't work, same
10 >> as 'lftp 'ftp://user:pass(word@×××××××.com'.
11 >
12 > Try lftp 'ftp://user:pass\(word@×××××××.com'
13 > or lftp ftp://user:pass\\\(word@×××××××.com
14 >
15 > The \ escapes the ( and the single quotes protect it fro the shell. In
16 > the second way, you escape the \ as well.
17
18 That's what I thought :) I already tried and it didn't
19 work.

Replies

Subject Author
Re: [gentoo-user] lftp -u user,pass(word Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] lftp -u user,pass(word "J. Roeleveld" <joost@××××××××.org>