Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 67470 invoked from network); 14 Sep 2010 15:10:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Sep 2010 15:10:22 -0000 Received: (qmail 41628 invoked by uid 500); 14 Sep 2010 15:10:21 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 41283 invoked by uid 500); 14 Sep 2010 15:10:18 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 41272 invoked by uid 99); 14 Sep 2010 15:10:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 15:10:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nicolas.delsaux@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 15:10:11 +0000 Received: by qwj8 with SMTP id 8so2755737qwj.30 for ; Tue, 14 Sep 2010 08:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VUu+dayyg//ZH2sb7esTlnP1N/r9Z+P3c9O0wG1+rpI=; b=suk+bgp5kbfF+8CYu9f6Jbmfw5TvYF+hZ8wA6zKwhwvk/dWV3gPzabjWKhYxOOi7/N vWvRHllA8VYiIRkD30PUyaERgjaihFaCqn7Y8/1tjxdcSwLFyuZsdbBfNQloe9TVnNCi G6H5kIkUWqrwMI6TP8gRbtIRJYxZbCLeqx0hY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=thaoNS4q7xHr7A0aGJEwdHXprzM8flOlS2qfd9u1vJ0LF/hoHkzxTbRXxwCuMrVKRz UIKqpKNS3Z0qvLnfedZYYTnjlw6UnnU0acJurwhG9R+SUqPxQT53zlrAoOmZt1eo4wzy AT5Wdq9WkaJKT+b+Sm1KhTk6o4HS3DYH3vS4w= MIME-Version: 1.0 Received: by 10.224.28.77 with SMTP id l13mr20947qac.222.1284476990737; Tue, 14 Sep 2010 08:09:50 -0700 (PDT) Received: by 10.229.28.73 with HTTP; Tue, 14 Sep 2010 08:09:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Sep 2010 17:09:50 +0200 Message-ID: Subject: Re: [VFS][SFTP] access path containing %0 From: Nicolas Delsaux To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 14, 2010 at 4:37 PM, sebb wrote: > > So just make sure that you also encode literal % characters as well. > > Note that the path > > /mnt/data/data_files/path%0/System%20Folder/etc. > > is partially URL-encoded already; encoding it again will cause problems. > OK, seems like a classical URLEncoder.encode(String) of all path parts is enough to solve the problem. Thanks for the help. -- Nicolas Delsaux --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org