Tgz file is not copying properly

Gautham Kumar gauthkum at gmail.com
Fri Oct 28 09:24:55 CEST 2022


Hi Team,

We have a device using curl with the libssh2 to copy some files from the
device to the server. When I try to use the curl with SCP option the file
gets corrupted. This issue happens only with SCP on curl.

Below is the logs collected.

-bash-4.2$ tar -tf bundle_file.tgz

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
-bash-4.2$

Can you please help in providing some work around for this or any related
fix in any branches.
The currently used libssh2 with 1.9.0 version in our device.

Thanks,
Gautham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.haxx.se/pipermail/libssh2-devel/attachments/20221028/11255b98/attachment.htm>


More information about the libssh2-devel mailing list