I am trying to adapt the scp example for my needs. It worked for a small text file. However, transferring a larger binary file from Windows 7 to Solaris 10 gave me the error:
scp: protocol error: expected control record When I truss the sshd on the Solaris box the last few lines reported are: 12906: read(0, " m", 1) = 1 12906: read(0, " o", 1) = 1 12906: read(0, " d", 1) = 1 12906: read(0, " e", 1) = 1 12906: read(0, " .", 1) = 1 12906: read(0, "\r", 1) = 1 12906: read(0, "\r", 1) = 1 12906: read(0, "\n", 1) = 1 12906: ioctl(1, TCGETA, 0xFFBFE604) Err#22 EINVAL 12906: fstat64(1, 0xFFBFE678) = 0 12906: brk(0x0002A5B8) = 0 12906: brk(0x0002C5B8) = 0 12906: fstat64(1, 0xFFBFE520) = 0 12906: write(1, 0x00029CA4, 46) = 46 12906: 01 s c p : p r o t o c o l e r r o r : e x p e c t e d c 12906: o n t r o l r e c o r d\n I have tried version 1.43-rc2 without success. Any help is appreciated, Roland ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
