www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [sftp] Read part of file

Re: [sftp] Read part of file

From: niXman <i.nixman_at_gmail.com>
Date: Wed, 17 Jul 2013 14:51:45 +0400

2013/7/17 Velichko Yuriy:
> Hello!
Hi,

> In the example:
> http://www.libssh2.org/examples/sftp.html
>
> is shown how to read data from file using libssh2_sftp_read().
>
> Is possible to read part of data from the end of file?

use libssh2_sftp_seek64() function:
http://www.libssh2.org/libssh2_sftp_seek64.html

--
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___________________________________________________
Another online IDE: http://liveworkspace.org/
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-07-17

the libssh2 team