I am using the most recent version of libssh2 and am having a problem trying to retrieve the file size of a remote file via the libssh2_sftp_stat_ex function. I can successfully read the file using the sftp.c example program; however, when I attempt to retrieve the file stats I receive a file size of zero in the LIBSSH2_SFTP_ATTRIBUTES argument. The return code from the libssh2_sftp_stat_ex function indicates success.
The remote server I am hitting is running SFTP version 3. I am running libssh2 on ubuntu maverick. Any insight would be most appreciated.
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
