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 02B7E59CAF for ; Wed, 6 Apr 2016 08:15:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49DB421C07F; Wed, 6 Apr 2016 08:14:44 +0000 (UTC) Received: from sunflo-mx.v.h.gc-24.de (gc-24.de [46.227.95.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F53521C053 for ; Wed, 6 Apr 2016 08:14:42 +0000 (UTC) Received: from hw.v.h.gc-24.de ([192.168.220.17]) by sunflo-mx.v.h.gc-24.de with esmtp (Exim 4.84) (envelope-from ) id 1anibo-0001qO-DX for gentoo-user@lists.gentoo.org; Wed, 06 Apr 2016 10:14:40 +0200 Subject: Re: [gentoo-user] lftp -u user,pass(word To: gentoo-user@lists.gentoo.org References: <5703B2ED.5070009@gc-24.de> <20160405135236.41ee6626@digimed.co.uk> <5703FE90.5010404@gc-24.de> <2060950.47PH9WsnKc@dell_xps> From: hw Message-ID: <5704C570.2090607@gc-24.de> Date: Wed, 6 Apr 2016 10:14:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 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 In-Reply-To: <2060950.47PH9WsnKc@dell_xps> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 50df6b6a-0b4e-442c-90a8-416744f4aa98 X-Archives-Hash: f4b98545802cec01aabc7eae55c8c979 Mick schrieb: > On Tuesday 05 Apr 2016 20:06:08 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. > > Did you try putting single/double quotes around passwd only? > Yes, that didn't work, either.