Back to product page

ServerErrorText function


Holds the error text returned by the server.

Type

A Long value. If successful, 0 is returned, otherwise error as specified here

Syntax

  • C
long Sftp_GetServerErrorText(void *Sftp, char *Buffer, int *Bufsize);
The ServerErrorText(void *Sftp,char *Buffer,int *Bufsize) syntax has these parts:
void *SftpHandle of the created Sftp instance.
char *BufferBuffer that will hold the returned string.
int *BufsizeSize of the buffer.

Platforms

Windows