tfFtpGetReplyText

Jump to: navigation, search

Table of Contents >> Application Reference >> FTP Client API


#include <trsocket.h>


int tfFtpGetReplyText (
ttUserFtpHandle ftpUserHandle,
char * replyStrPtr,
int replyStrLen
);


Function Description

This function retrieves the full text of the reply to the most recently executed FTP command.


Parameters

  • ftpUserHandle
    The FTP session handle.
  • replyStrPtr
    A pointer to the string to place the reply text in.
  • replyStrLen
    The length of the buffer pointed to by 'replyStrPtr'.


Returns

  • >= 0
    The number of bytes copied from the reply text to 'replyStrPtr'.
  • 0
    'replyStrPtr' was NULL.


Table of Contents >> Application Reference >> FTP Client API