Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 25095 invoked from network); 15 Nov 2006 17:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 17:18:54 -0000 Received: (qmail 90736 invoked by uid 500); 15 Nov 2006 17:19:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90705 invoked by uid 500); 15 Nov 2006 17:19:00 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 90694 invoked by uid 99); 15 Nov 2006 17:19:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 09:19:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 09:18:46 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 071FC6BA11 for ; Wed, 15 Nov 2006 17:18:25 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lcxEeGfLayFQ for ; Wed, 15 Nov 2006 17:18:23 +0000 (GMT) Received: from ha-node-br1.hpl.hp.com (ha-node-br1.hpl.hp.com [16.25.144.56]) by colossus.hpl.hp.com (Postfix) with ESMTP id 410B36B9EA for ; Wed, 15 Nov 2006 17:18:22 +0000 (GMT) Received: from [16.25.171.182] (chamonix.hpl.hp.com [16.25.171.182]) by ha-node-br1.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kAFHI2J4004998 for ; Wed, 15 Nov 2006 17:18:03 GMT Message-ID: <455B4AE1.8040204@apache.org> Date: Wed, 15 Nov 2006 17:14:09 +0000 From: Steve Loughran User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Ant Users List Subject: Re: [scp/sshexec] Is a connection thru HTTP proxy possible? (setproxy doesn't help) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Maciej Zywno wrote: > As far as I understood from > http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html, the > properties you mention are used by "protocol handlers". So I guess they are > used by classes that extend e.g. URLStreamHandler e.g. > sun.net.www.protocol.http.Handler. However scp task uses jsch library( > http://www.jcraft.com/jsch/) that operates on raw sockets which I think > don't use the system proxy settings. > > Actually now I'm quite sure ant SCP task cannot go thru firewall. I hope > I'm > wrong. ssh doesnt go through firewalls except with socks. If you have a socks server you may be able to get to work. commons-vfs has support for webdav and tasks like to copy files to a virtual filesystem, so if the far end supports webdav you can upload over http, and hence through the proxy --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org