[Libssh] sftp_seek() with SEEK_END..
manohar s
manoharyes at gmail.com
Wed Dec 26 13:20:43 CET 2007
hi!
I am Trying to findout File size using your SFTP library.
[CODE]
curpos = sftp_tell() ;
*// My doubt is SEEK_END is not there?*
sftp_seek(SEEK_END);
endpos = sftp_tell();
filesize = endpos - curpos;
[/CODE]
In normal fseek() with seek end moves the file pointer to last so i am
expecting the same behaviour.
please Help
waiting for your Reply,
Manohar.s
--
hope is the only thing which keeps us all happy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cerkinfo.be/pipermail/libssh/attachments/20071226/4a5e8635/attachment.htm
More information about the Libssh
mailing list