Tgz file is not copying properly
gauthkum at gmail.com
Fri Oct 28 09:24:55 CEST 2022
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libssh2-devel