You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2016/06/23 03:23:16 UTC
[jira] [Commented] (SSHD-670) Provide automatic compression of
uploaded/downloaded files via SCP
[ https://issues.apache.org/jira/browse/SSHD-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345646#comment-15345646 ]
Goldstein Lyor commented on SSHD-670:
-------------------------------------
More complex than I thought - need to compress it 1st to some temporary local file since SCP demands that the size be known **before** actually opening the file, so we cannot compress-on-the-fly
> Provide automatic compression of uploaded/downloaded files via SCP
> ------------------------------------------------------------------
>
> Key: SSHD-670
> URL: https://issues.apache.org/jira/browse/SSHD-670
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.3.0
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Priority: Minor
> Labels: features
> Fix For: 1.3.0
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> The code will first check if the requested file exists. If so, then it will simply defer upload/download to the usual process. If the requested file does not exist and its name ends with a known compressed file suffix (e.g. {{.gz}}, {{.z}}, {{.tgz}}, {{.zip}}) it will strip the suffix and look for an un-compressed file. If such a file exists, then its data will be compressed using the relevant compression algorithm while being uploaded/downloaded
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)