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 DE8E659CAF for ; Wed, 6 Apr 2016 08:15:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5620F21C096; Wed, 6 Apr 2016 08:15:33 +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 CCE0721C091 for ; Wed, 6 Apr 2016 08:15:31 +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 1anicc-0001qd-9e for gentoo-user@lists.gentoo.org; Wed, 06 Apr 2016 10:15:30 +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> <28EBB6D9-0BD0-4C94-9166-FF2ED381B6AB@antarean.org> From: hw Message-ID: <5704C5A2.8070302@gc-24.de> Date: Wed, 6 Apr 2016 10:15:30 +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: <28EBB6D9-0BD0-4C94-9166-FF2ED381B6AB@antarean.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: a12ca0b4-3b26-4dc8-8ff0-456ab06fc445 X-Archives-Hash: bfb9eac586160b8ad574c9598e4d6491 J. Roeleveld schrieb: > 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. I tried that, too, no dice ...