On Fri, Oct 28, 2022 at 12:54:55PM +0530, Gautham Kumar via libssh2-devel wrote: > 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.
Is it a curl bug then? Does it happen with (an appropriately modified) libssh2/example/scp.c ? > -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 How do the bytes of the bad file differ from the good file? Dan -- libssh2-devel mailing list libssh2-devel@lists.haxx.se https://lists.haxx.se/listinfo/libssh2-devel