Help for this page

Select Code to Download


  1. or download this
    libssh2_sftp_init(ss->session) -> 0x9a641d8
    (OK, proceed with file copy)
    libssh2_sftp_open_ex(sf->sftp, (char*)pv_file, len_file, l_flags, mode
    +, 0) -> 0x9ce1dd8
    ...
    (FAIL)
    Net::SSH2::Channel::DESTROY
    Net::SSH2::DESTROY object 0x95c4390
    
  2. or download this
    Net::SSH2::Channel::read(size = 8192, ext = 0)
    - read 8192 bytes
    - read 8192 total
    ...
    - read 8192 total
    Net::SSH2::Channel::read(size = 8192, ext = 0)
    - read 7228 bytes
    
  3. or download this
    my $chan = $ssh2->channel();
    $chan->blocking(1);
    $chan->exec("cat myfile");
    
  4. or download this
    libssh2_channel_open_ex(ss->session, pv_channel_type, len_channel_type
    +, window_size, packet_size, ((void *)0) , 0 ) -> 0x916e480
     [53819:0]Net::SSH2::Channel::read(size = 1048576, ext = 0)
    - read 16384 bytes
    ...
    - read 53819 total
    Net::SSH2::Channel::DESTROY
    libssh2_channel_open_ex(ss->session, pv_channel_type, len_channel_type
    +, window_size, packet_size, ((void *)0) , 0 ) -> 0x0