Subject: Re: Verifying the existence of a remote file.

Re: Verifying the existence of a remote file.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 25 Aug 2010 16:52:23 -0700

On Wed, Aug 25, 2010 at 03:59:52PM -0700, Paul Romero wrote:
> Dear Group:
>
> Is there a simple way to determine if a file exists
> on a remote SFTP server using the libssh2 API ?

You can use libssh2_sftp_stat_ex() and look at the error code.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-08-26