Neil Bothwick schrieb:
On Tue, 5 Apr 2016 14:43:25 +0200, hw wrote:
how do you use lftp (to mirror a remote site)
when the password you have contains a bracket?
I'm trying 'lftp -u user,pass(word ftp.example.com', and
there appears to be no way to escape characters in the
password. Using single quotes also doesn't work, same
as 'lftp 'ftp://user:pass(w...@example.com'.
Try lftp 'ftp://user:pass\(w...@example.com'
or lftp ftp://user:pass\\\(w...@example.com
The \ escapes the ( and the single quotes protect it fro the shell. In
the second way, you escape the \ as well.
That's what I thought :) I already tried and it didn't
work.