upa / mscp

mscp: transfer files over multiple SSH (SFTP) connections
GNU General Public License v3.0
128 stars 13 forks source link

support for zstd compression #19

Closed Mitmischer closed 6 months ago

Mitmischer commented 6 months ago

According to the CLI help, currently only zlib compression is supported. There are a multitude of impressive benchmark that show the power and efficiency of zstd over zlib. Acknowledging that mscp is meant for slow/high-latency connections anyway, it would surely benefit from more powerful compression.

A different idea would be to support reading from stdin. Then, the user is free to transparently compress the file on their own.

upa commented 6 months ago

mscp copies files over SSH/SFTP, and its compression is a feature defined/standardized/implemented in the SSH transport layer protocol https://datatracker.ietf.org/doc/html/rfc4253#section-6.2. Thus, we cannot implement new compression methods without standardization.