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. |