On April 5, 2016 8:06:08 PM GMT+02:00, hw <h...@gc-24.de> wrote: >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.
Have you tried: lftp -u "user,pass(word" ftp.example.com ? Maybe that works. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.