From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4825259CAF for ; Tue, 5 Apr 2016 18:10:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 754FB21C06D; Tue, 5 Apr 2016 18:09:57 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id 96D2E21C068 for ; Tue, 5 Apr 2016 18:09:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id C5218121F71 for ; Tue, 5 Apr 2016 18:04:43 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iACsQ9WiRETA for ; Tue, 5 Apr 2016 18:04:43 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 4BAD4121078 for ; Tue, 5 Apr 2016 18:04:43 +0000 () Received: from [192.168.45.119] (53574170.cm-6-8b.dynamic.ziggo.nl [83.87.65.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id A072F4C for ; Tue, 5 Apr 2016 20:08:42 +0200 (CEST) In-Reply-To: <5703FE90.5010404@gc-24.de> References: <5703B2ED.5070009@gc-24.de> <20160405135236.41ee6626@digimed.co.uk> <5703FE90.5010404@gc-24.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [gentoo-user] lftp -u user,pass(word From: "J. Roeleveld" Date: Tue, 05 Apr 2016 18:09:42 +0000 To: gentoo-user@lists.gentoo.org Message-ID: <28EBB6D9-0BD0-4C94-9166-FF2ED381B6AB@antarean.org> X-Archives-Salt: 37f3fc72-4c68-4a9c-b073-0691f9bba216 X-Archives-Hash: e1bd1cc21451b9bf95ae34e981c39522 On April 5, 2016 8:06:08 PM GMT+02:00, hw 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(word@example.com'. >> >> Try lftp 'ftp://user:pass\(word@example.com' >> or lftp ftp://user:pass\\\(word@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.