1 |
On Tue, 5 Apr 2016 14:43:25 +0200, hw wrote: |
2 |
|
3 |
> how do you use lftp (to mirror a remote site) |
4 |
> when the password you have contains a bracket? |
5 |
> |
6 |
> I'm trying 'lftp -u user,pass(word ftp.example.com', and |
7 |
> there appears to be no way to escape characters in the |
8 |
> password. Using single quotes also doesn't work, same |
9 |
> as 'lftp 'ftp://user:pass(word@×××××××.com'. |
10 |
|
11 |
Try lftp 'ftp://user:pass\(word@×××××××.com' |
12 |
or lftp ftp://user:pass\\\(word@×××××××.com |
13 |
|
14 |
The \ escapes the ( and the single quotes protect it fro the shell. In |
15 |
the second way, you escape the \ as well. |
16 |
|
17 |
|
18 |
-- |
19 |
Neil Bothwick |
20 |
|
21 |
In plumbing, a straight flush is better than a full house. |