<div dir="auto">Hi Team,<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Below is the logs collected.</div><div dir="auto"><br></div><div dir="auto">-bash-4.2$ tar -tf bundle_file.tgz</div><div dir="auto"><br></div><div dir="auto">gzip: stdin: invalid compressed data--format violated</div><div dir="auto">tar: Unexpected EOF in archive</div><div dir="auto">tar: Error is not recoverable: exiting now</div><div dir="auto">-bash-4.2$</div><div dir="auto"><br></div><div dir="auto">Can you please help in providing some work around for this or any related fix in any branches.</div><div dir="auto">The currently used libssh2 with 1.9.0 version in our device.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">GauthamĀ </div></div>