Closed Mitmischer closed 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.
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.