You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Damjan Perenic <da...@guest.arnes.si> on 2009/07/20 14:29:05 UTC

How to enable compression in SSH/SCP task?

Hello,

I would like to know if it is possible to enable compression on SCP
task? If it is, how?
If this is currently not possible, where and how can I log an
enhancement request? On the ant website it says write on the mailing
list. Is this offical way to log enhancement request?


Kind regards,
Damjan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: How to enable compression in SSH/SCP task?

Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-07-21, Atsuhiko Yamanaka <at...@gmail.com> wrote:

> Hi,

> On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh<av...@gmail.com> wrote:

>>> I would like to know if it is possible to enable compression on SCP task?

>> Find details on filing bugs here - http://ant.apache.org/bugs.html

for reference:
<https://issues.apache.org/bugzilla/show_bug.cgi?id=47552>

> SCP task has been using jsch[1] internally, and
> it has supported the packet compression by using jzlib[2].

> The jzlib has been licensed under the revised BSD license. If it is allowed
> to use jzlib in SCP task, it will be easy to add the support for the
> requested functionality.

I can't see any licensing problem and if the patch can be written in a
manner that a user doesn't need jzlib to run scp without compression
(I don't have a problem with a compile time dependency) then this new
dependency wouldn't hurt at all.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: How to enable compression in SSH/SCP task?

Posted by Atsuhiko Yamanaka <at...@gmail.com>.
Hi,

On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh<av...@gmail.com> wrote:
>>
>> I would like to know if it is possible to enable compression on SCP task?
>> If it is, how?
>>
> AFAIK, the compression option is currently not supported in the scp task.
> Using the old school exec task in this manner - <exec executable="scp"
> ...><arg line="-C ..."/></exec>, might be a quick workaround.
>
> If this is currently not possible, where and how can I log an enhancement
>> request?
>>
> Find details on filing bugs here - http://ant.apache.org/bugs.html
>
> +1 for this enhancement request.

SCP task has been using jsch[1] internally, and
it has supported the packet compression by using jzlib[2].

The jzlib has been licensed under the revised BSD license. If it is allowed
to use jzlib in SCP task, it will be easy to add the support for the
requested functionality.


[1] http://www.jcraft.com/jsch/
[2] http://www.jcraft.com/jzlib/


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: How to enable compression in SSH/SCP task?

Posted by Avlesh Singh <av...@gmail.com>.
>
> I would like to know if it is possible to enable compression on SCP task?
> If it is, how?
>
AFAIK, the compression option is currently not supported in the scp task.
Using the old school exec task in this manner - <exec executable="scp"
...><arg line="-C ..."/></exec>, might be a quick workaround.

If this is currently not possible, where and how can I log an enhancement
> request?
>
Find details on filing bugs here - http://ant.apache.org/bugs.html

+1 for this enhancement request.

Cheers
Avlesh

On Mon, Jul 20, 2009 at 5:59 PM, Damjan Perenic <
damjan.perenic@guest.arnes.si> wrote:

> Hello,
>
> I would like to know if it is possible to enable compression on SCP
> task? If it is, how?
> If this is currently not possible, where and how can I log an
> enhancement request? On the ant website it says write on the mailing
> list. Is this offical way to log enhancement request?
>
>
> Kind regards,
> Damjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>