Re: [Ssh-sftp-perl-users] Net SSH2 scp_get/scp_put problems.
Brought to you by:
dbrobins
From: David R. <dbr...@cp...> - 2006-02-17 03:42:55
|
On Thursday February 16, 2006 11:27, Rutger Ovidius wrote: > Saturday, February 11, 2006, 8:18:21 AM, you wrote: > > RO> But scp_get does not work on files > 25k or so. For a 2k file, it works, but > RO> larger files receive a segmentation fault. > > RO> scp_put just creates a 0 byte file on the remote system but doesn't transfer the contents. > > I found the scp_get problem; the pv_buffer was being incremented and > then accessed at an incorrect position. (Requires a recompile of SSH2.xs). Fixed for 0.07, thanks. > The scp_put problem was patched by by R. Corbridge. stat[2] was being > used rather than stat[7] in SSH2.pm. I already picked that up, it will also be in 0.07. Thanks, -- Dave Isa. 40:31 |